Skip to content

Commit

Permalink
Update nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
kimachinskiy committed Sep 21, 2023
1 parent 64e0af8 commit 132f415
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions configs/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ server {

# React
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
proxy_pass http://frontend:80;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}

# Django API
Expand Down

0 comments on commit 132f415

Please sign in to comment.