X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fa7cf8fa43d32ef0d438976ed9e87fc7b91bc89d..e45d6feabba025220783beea6caed60cd1e7d782:/sdk/python/tests/nginx.conf diff --git a/sdk/python/tests/nginx.conf b/sdk/python/tests/nginx.conf index 6e872a615c..85b4f5b37b 100644 --- a/sdk/python/tests/nginx.conf +++ b/sdk/python/tests/nginx.conf @@ -71,6 +71,25 @@ http { proxy_request_buffering off; } } + upstream health { + server {{LISTENHOST}}:{{HEALTHPORT}}; + } + server { + listen {{LISTENHOST}}:{{HEALTHSSLPORT}} ssl default_server; + server_name health; + ssl_certificate "{{SSLCERT}}"; + ssl_certificate_key "{{SSLKEY}}"; + location / { + proxy_pass http://health; + proxy_set_header Host $http_host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto https; + proxy_redirect off; + + proxy_http_version 1.1; + proxy_request_buffering off; + } + } server { listen {{LISTENHOST}}:{{KEEPWEBDLSSLPORT}} ssl default_server; server_name keep-web-dl ~.*;