Use HTTP/1.1 for nginx to Synapse

This commit is contained in:
Olivier 'reivilibre 2024-09-27 16:23:25 +01:00
parent be472547bb
commit 7d398d52b7

View file

@ -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;