mirror of
https://github.com/frappe/bench.git
synced 2024-11-16 01:57:08 +00:00
fix(nginx): set proxy_http_version
to 1.1
This sets the `proxy_http_version` to `1.1`. The reason this change should be implemented is that when this is deployed in a Kubernetes environment with Istio, the proxy request fails with HTTP error 426 as the HTTP version is too low for envoy to handle. Setting it to `1.1` will solve the issue.
This commit is contained in:
parent
beac865153
commit
7da62f96f2
@ -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 }};
|
||||
|
Loading…
Reference in New Issue
Block a user