Skip to content

Commit

Permalink
imagery: move tiler api url
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Jan 9, 2024
1 parent c82c91f commit 361f934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbooks/imagery/templates/default/nginx_titiler.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ server {
gzip_comp_level 9;
gzip_vary on;

location / {
location /api/v1/titiler {
rewrite ^/api/v1/titiler(.*)$ $1 break;
proxy_pass http://localhost:8080;
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 https;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

0 comments on commit 361f934

Please sign in to comment.