move nginx
This commit is contained in:
parent
4ecf763446
commit
6a681bb748
9 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@ echo 'Starting nginx'
|
|||
if [ -f /conf/stack/ssl.key ]
|
||||
then
|
||||
echo "Using HTTPS"
|
||||
/usr/sbin/nginx -c /conf/nginx.conf
|
||||
/usr/sbin/nginx -c /conf/nginx/nginx.conf
|
||||
else
|
||||
echo "No SSL key provided, using HTTP"
|
||||
/usr/sbin/nginx -c /conf/nginx-nossl.conf
|
||||
/usr/sbin/nginx -c /conf/nginx/nginx-nossl.conf
|
||||
fi
|
||||
|
||||
echo 'Nginx exited'
|
||||
|
|
Reference in a new issue