Skip to content

Commit

Permalink
update default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmostafa committed Feb 12, 2025
1 parent 99e01d5 commit 5de7c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ server {
}

location /api {
proxy_pass http://api:5000;
proxy_pass http://api:5000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand All @@ -37,4 +37,4 @@ server {
gzip on;
gzip_types text/plain application/javascript text/css application/json application/xml text/javascript;
gzip_min_length 1024;
}
}

0 comments on commit 5de7c3e

Please sign in to comment.