diff --git a/nginx.conf b/nginx.conf index e2e9700..c352b77 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,9 +1,14 @@ server { listen 80; + server_name _; + root /usr/share/nginx/html; location /containers/kyllianchabanon-portfolio { alias /usr/share/nginx/html; - try_files $uri $uri/ /containers/kyllianchabanon-portfolio/index.html; - index index.html; + try_files $uri $uri/ /index.html; + } + + location / { + try_files $uri $uri/ /index.html; } } \ No newline at end of file