Skip to content

Commit

Permalink
fix titiler behind proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jun 21, 2024
1 parent 1c5e295 commit e4ba43a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ services:
- maps
image: ghcr.io/ninanor/experimental-bbox-colorscale-map-titiler:master
environment:
- TITILER_API_CORS_ORIGINS=http://localhost:3000,http://$HOSTNAME:3000
- TITILER_API_CACHECONTROL=no-cache
- FORWARDED_ALLOW_IPS=*
- TITILER_API_ROOT_PATH=/titiler
ports:
- "8989:8080"

Expand Down
2 changes: 1 addition & 1 deletion nginx/maps.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ upstream maps {
}

upstream titiler {
server titiler:8000;
server titiler:8080;
keepalive 64;
}

Expand Down

0 comments on commit e4ba43a

Please sign in to comment.