diff --git a/nginx-default b/nginx-default index c56f907..4271454 100644 --- a/nginx-default +++ b/nginx-default @@ -1,15 +1,15 @@ server { listen 80 default_server; #listen [::]:80 default_server ipv6only=on; - + root /nexus/; - + index index.html index.htm; server_name localhost; - + #auth_basic "Restricted"; #auth_basic_user_file /etc/nginx/htpasswd; - + location / { autoindex on; try_files $uri $uri/ =404; diff --git a/start b/start index 3812a50..0a9142b 100755 --- a/start +++ b/start @@ -3,10 +3,7 @@ # run everything in start.d find /start.d -type f -executable -exec {} \; -# Cleanly kill supervisor when container is stopped -trap 'kill $(jobs -p)' EXIT - chown nexus /nexus # start services -supervisord +exec supervisord