Skip to content

Commit

Permalink
config: Update proxy_pass URL in custom-nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Feb 7, 2024
1 parent 9adc4b8 commit e0235d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/custom-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ server {

# Proxy other /server/* requests to the Django app that runs on http://localhost:8000
location /server/ {
proxy_pass http://localhost:8000;
proxy_pass http://server:8000;
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 Down

0 comments on commit e0235d9

Please sign in to comment.