This commit is contained in:
@@ -239,9 +239,7 @@ client_max_body_size 20m;
|
||||
# enabled = false
|
||||
service = "stash-svc.stash.svc:9999"
|
||||
extra-value-location = <<EOT
|
||||
#proxy_http_version 1.1;
|
||||
proxy_set_header Connection "upgrade";
|
||||
# proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
@@ -253,21 +251,6 @@ proxy_set_header Connection "upgrade";
|
||||
#end of working
|
||||
|
||||
|
||||
#proxy_set_header Range $http_range;
|
||||
#proxy_set_header If-Range $http_if_range;
|
||||
#proxy_set_header X-Real-IP $remote_addr;
|
||||
#proxy_set_header Host $host;
|
||||
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
#Next three lines allow websockets
|
||||
#proxy_http_version 1.1;
|
||||
#proxy_set_header Upgrade $http_upgrade;
|
||||
#proxy_set_header Connection "upgrade";
|
||||
|
||||
#Next lines added from Stash documentation
|
||||
#proxy_set_header X-Forwarded-Proto $scheme;
|
||||
#proxy_read_timeout 60000s;
|
||||
#proxy_set_header Host $http_host;
|
||||
|
||||
EOT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user