mirror of https://github.com/minio/minio.git
fix: minio console nginx config (#13156)
This commit is contained in:
parent
0892f1e406
commit
950fe73c4f
|
@ -90,9 +90,12 @@ http {
|
||||||
real_ip_header X-Real-IP;
|
real_ip_header X-Real-IP;
|
||||||
|
|
||||||
proxy_connect_timeout 300;
|
proxy_connect_timeout 300;
|
||||||
# Default is HTTP/1, keepalive is only enabled in HTTP/1.1
|
|
||||||
|
# To support websocket
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Connection "";
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
||||||
chunked_transfer_encoding off;
|
chunked_transfer_encoding off;
|
||||||
|
|
||||||
proxy_pass http://console;
|
proxy_pass http://console;
|
||||||
|
|
Loading…
Reference in New Issue