mirror of
https://github.com/element-hq/synapse
synced 2024-09-30 03:32:41 +00:00
Use HTTP/1.1 for nginx to Synapse
This commit is contained in:
parent
be472547bb
commit
7d398d52b7
1 changed files with 1 additions and 0 deletions
|
@ -356,6 +356,7 @@ WORKERS_CONFIG: Dict[str, Dict[str, Any]] = {
|
|||
NGINX_LOCATION_CONFIG_BLOCK = """
|
||||
location ~* {endpoint} {{
|
||||
proxy_pass {upstream};
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
|
|
Loading…
Reference in a new issue