update sslproxy host for nextcloud

add healthcheck to nextcloud containers.
This commit is contained in:
2018-11-02 06:53:20 -04:00
parent 05b49ce49f
commit 41b35c8689
5 changed files with 27 additions and 12 deletions

View File

@@ -21,7 +21,12 @@ server {
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
location / {
proxy_set_header Connection $http_connection;
proxy_set_header Connection $http_connection;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://xaibox_upstream;
}