X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/28f4b9d44edf494b8a77e52c1237f936479a119c..b9c0d9f47a55952cdb03690a9d1b865dd072c588:/cookbooks/imagery/templates/default/nginx_titiler.conf.erb diff --git a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb index 1ddc39ec8..c0f777976 100644 --- a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb @@ -36,10 +36,11 @@ server { location /api/v1/titiler { rewrite ^/api/v1/titiler(.*)$ $1 break; proxy_pass http://localhost:8080; - proxy_set_header HOST $host; + proxy_set_header Host $host; proxy_set_header Referer $http_referer; proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-Proto https; + proxy_set_header X-Forwarded-SSL on; proxy_redirect off; } }