Commit b5c2f04f authored by nanahira's avatar nanahira

no forward scheme

parent 11cb5c4f
Pipeline #17257 failed with stages
in 60 minutes and 2 seconds
......@@ -194,7 +194,6 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Forwarded "for=$remote_addr;by=$hostname";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
{{#timeout}}
proxy_read_timeout {{.}}s;
......@@ -202,6 +201,7 @@ http {
proxy_send_timeout {{.}}s;
{{/timeout}}
{{^minio}}
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment