Skip to content

Commit

Permalink
quick fixes as suggested in review in #297
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaschwartz committed Aug 10, 2023
1 parent 134dc8a commit 2d27b1c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions birdhouse/components/stac/docker-compose-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,5 @@ services:
timeout: 5s
retries: 5

# extend proxy with endpoint and config for STAC API access
proxy:
volumes:
- ./components/stac/conf.extra-service.d:/etc/nginx/conf.extra-service.d/stac:ro
links:
- stac

volumes:
stac-db:
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
proxy_set_header X-Forwarded-Proto $real_scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header Forwarded "proto=https;host=${PAVICS_FQDN}"; # Helps the STAC component to craft URLs containing the full PAVICS_FQDN
proxy_set_header Forwarded "proto=https;host=${PAVICS_FQDN_PUBLIC}"; # Helps the STAC component to craft URLs containing the full PAVICS_FQDN
}

0 comments on commit 2d27b1c

Please sign in to comment.