diff --git a/deployment/nginx-app-staging.conf b/deployment/nginx-app-staging.conf index c598984..74d1bb4 100644 --- a/deployment/nginx-app-staging.conf +++ b/deployment/nginx-app-staging.conf @@ -8,10 +8,12 @@ server { ssl_certificate /etc/letsencrypt/live/job-manager-staging.hbpneuromorphic.eu/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/job-manager-staging.hbpneuromorphic.eu/privkey.pem; + root /usr/share/nginx/html; + index index.html; + server_name job-manager-staging.hbpneuromorphic.eu; location / { - root /usr/share/nginx/html; - index index.html index.htm; + try_files $uri $uri/ /index.html; } }