]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/nginx_titiler.conf.erb
Delete mediawiki link refresh service and timer
[chef.git] / cookbooks / imagery / templates / default / nginx_titiler.conf.erb
index 1ddc39ec8629a4092655926af14e00b65446f9d1..c0f7779768af4cca3edb27e348284eecf8b09f3b 100644 (file)
@@ -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;
     }
 }