Skip to content

Commit

Permalink
Merge pull request #95 from bcgov/akroon3r-patch-1
Browse files Browse the repository at this point in the history
Create nginx.conf for prod react artifact
  • Loading branch information
JlevesqueAtBC authored Jul 3, 2024
2 parents 5cdc5be + 1b03450 commit 1f10972
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
server {
listen 3000;
location / {
root /usr/share/nginx/html;
try_files $uri /index.html;
}
location /api/ {
proxy_pass http://citz-grs-dats-api:5000/;
proxy_set_header Host $host;
}
}

0 comments on commit 1f10972

Please sign in to comment.