mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-25 13:26:30 +00:00
add HTTP 1.1 support
This commit is contained in:
parent
a794d6db46
commit
175a1ab077
@ -41,6 +41,10 @@ server {
|
||||
location / {
|
||||
proxy_pass http://{{ $host }};
|
||||
include /etc/nginx/proxy_params;
|
||||
|
||||
# HTTP 1.1 support
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
}
|
||||
}
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user