Skip to content

Commit

Permalink
Update proxy_pass URLs in nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoulSKY committed Dec 19, 2023
1 parent c358426 commit f149d79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ server {
server_name desdemona.seoulsky.org;

location / {
proxy_pass http://0.0.0.0:8080;
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

location /api {
proxy_pass http://0.0.0.0:8000;
proxy_pass http://localhost: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 f149d79

Please sign in to comment.