This commit is contained in:
@@ -236,12 +236,10 @@ client_max_body_size 20m;
|
|||||||
service = "bookstack-svc.bookstack-terraform.svc"
|
service = "bookstack-svc.bookstack-terraform.svc"
|
||||||
}
|
}
|
||||||
stash = {
|
stash = {
|
||||||
# enabled = false
|
# enabled = false
|
||||||
service = "stash-svc.stash.svc:9999"
|
service = "stash-svc.stash.svc:9999"
|
||||||
extra-value-location = <<EOT
|
extra-value-location = <<EOT
|
||||||
#proxy_http_version 1.1;
|
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
# proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
@@ -253,21 +251,6 @@ proxy_set_header Connection "upgrade";
|
|||||||
#end of working
|
#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
|
EOT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user