Skip to content

Commit

Permalink
nginx.conf fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bunjdo committed Aug 4, 2022
1 parent 36503e5 commit 6c0d248
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ http {

location /api/ {
proxy_pass http://server;
proxy_set_header Host $http_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 /ws/ {
Expand Down

0 comments on commit 6c0d248

Please sign in to comment.