fix: minio console nginx config (#13156)

This commit is contained in:
soudhaf 2021-09-09 07:41:06 +01:00 committed by GitHub
parent 0892f1e406
commit 950fe73c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

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