Skip to content

Commit

Permalink
current nginx config doesn't seem to be compatible with react-router
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jan 23, 2024
1 parent 97f87fd commit 2d3b3ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deployment/nginx-app-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 2d3b3ef

Please sign in to comment.