nginx: use upstream ubuntu package (#1546)

Ubuntu 16.04 LTS has a newer version than what we compile.
This commit is contained in:
Jimmy Zelinskie 2016-06-16 13:51:04 -04:00 committed by GitHub
parent a33a70a419
commit d599406140
4 changed files with 6 additions and 9 deletions

View file

@ -5,10 +5,10 @@ echo 'Starting nginx'
if [ -f /conf/stack/ssl.key ]
then
echo "Using HTTPS"
/usr/local/nginx/sbin/nginx -c /conf/nginx.conf
/usr/sbin/nginx -c /conf/nginx.conf
else
echo "No SSL key provided, using HTTP"
/usr/local/nginx/sbin/nginx -c /conf/nginx-nossl.conf
/usr/sbin/nginx -c /conf/nginx-nossl.conf
fi
echo 'Nginx exited'
echo 'Nginx exited'