Skip to content

Commit

Permalink
Merge pull request #121 from devkeon/feature/fileprocessing
Browse files Browse the repository at this point in the history
Fix: fix ws header on Nginx
  • Loading branch information
devkeon committed Dec 27, 2023
2 parents 58f30e8 + 975145b commit f89de3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ http {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
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;
proxy_set_header Authorization $http_authorization;
}

location / {
Expand All @@ -31,7 +35,6 @@ http {
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;

}
}
}

0 comments on commit f89de3f

Please sign in to comment.