2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-27 22:39:03 +00:00

Merge pull request #1333 from lhjt/patch-1

fix(nginx): set `proxy_http_version` to `1.1`
This commit is contained in:
gavin 2022-07-27 15:34:37 +05:30 committed by GitHub
commit e66fe9ca02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,7 @@ server {
}
location @webserver {
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frappe-Site-Name {{ site_name }};