X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b986944def2a1e9fedc0e9f04e2aaea69bd4a115..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/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 ea48a0cec..155620949 100644 --- a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb @@ -17,6 +17,7 @@ server { upstream titiler_api_backend { server unix:/srv/imagery/sockets/titiler.sock max_fails=0; + server unix:/srv/./imagery/sockets/titiler.sock max_fails=0; } server { @@ -50,7 +51,7 @@ server { location /api/v1/titiler { rewrite ^/api/v1/titiler(.*)$ $1 break; - proxy_pass http://titiler_api_backend + proxy_pass http://titiler_api_backend; proxy_set_header Host $host; proxy_set_header Referer $http_referer; proxy_set_header X-Forwarded-For $remote_addr;