diff --git a/nginx.conf b/nginx.conf index b71b852..da8407a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,17 +1,20 @@ -worker_processes 4; +worker_processes 1; -events { worker_connections 1024; } +events { + worker_connections 1024; +} http { include /etc/nginx/mime.types; + server { - listen 8080; - root /usr/share/nginx/html/nested-app; - include /etc/nginx/mime.types; + listen 8000; + server_name localhost; - location /nested-app/ { - root /usr/share/nginx/html; - try_files $uri $uri/ /nested-app/index.html; + location / { + root /usr/share/nginx/html; + index index.html; + try_files $uri $uri/ /index.html; } } } \ No newline at end of file