diff --git a/roles/nginxplus/files/conf/http/datacommons_staging.conf b/roles/nginxplus/files/conf/http/datacommons_staging.conf index 1697758cc..5093931b8 100644 --- a/roles/nginxplus/files/conf/http/datacommons_staging.conf +++ b/roles/nginxplus/files/conf/http/datacommons_staging.conf @@ -59,6 +59,7 @@ server { proxy_pass http://staging-describe/describe/; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto https; proxy_cache describe-stagingcache; # handle errors using errors.conf proxy_intercept_errors on; diff --git a/roles/nginxplus/files/conf/http/pdc-describe_prod.conf b/roles/nginxplus/files/conf/http/pdc-describe_prod.conf index 9cee54e7b..fddac0df0 100644 --- a/roles/nginxplus/files/conf/http/pdc-describe_prod.conf +++ b/roles/nginxplus/files/conf/http/pdc-describe_prod.conf @@ -75,6 +75,7 @@ server { proxy_pass http://pdc-describe-prod/describe/; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto https; proxy_cache pdc-describe-prodcache; # handle errors using errors.conf proxy_intercept_errors on; diff --git a/roles/nginxplus/files/conf/http/pdc-describe_staging.conf b/roles/nginxplus/files/conf/http/pdc-describe_staging.conf index e37b0b6a6..16506f71d 100644 --- a/roles/nginxplus/files/conf/http/pdc-describe_staging.conf +++ b/roles/nginxplus/files/conf/http/pdc-describe_staging.conf @@ -44,6 +44,7 @@ server { proxy_pass http://pdc-describe-staging/describe/; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto https; proxy_cache pdc-describe-stagingcache; # handle errors using errors.conf proxy_intercept_errors on;