Skip to content

Commit

Permalink
Create nginx.conf for prod react artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
akroon3r authored Jul 3, 2024
1 parent 5cdc5be commit 1b03450
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 1b03450

Please sign in to comment.