Skip to content

Commit

Permalink
set the port of the reverse proxy properly (#164)
Browse files Browse the repository at this point in the history
Co-authored-by: thomas loubrieu <[email protected]>
  • Loading branch information
tloubrieu-jpl and thomas loubrieu authored Feb 21, 2023
1 parent f07f2af commit 76d8e31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker/default-config/application.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
springfox.documentation.swagger.v2.path=/api-docs
server.contextPath=/
server.port=8080
server.use-forward-headers=true
server.forward-headers-strategy=framework
#server.use-forward-headers=true

#spring.jackson.date-format=io.swagger.RFC3339DateFormat
springdoc.api-docs.path=/api-docs
springdoc.api-docs.enabled=true
springdoc.packagesToScan=gov.nasa.pds.api.registry.controller
springdoc.pathsToMatch=/**

spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
springfox.documentation.enabled=false

debug=false
logging.level.root = INFO
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ services:
environment:
- PROXY_URL=http://registry-api:8080/
- PROXY_PATH=/api/search/1/
- PROXY_PORT=8443
ports:
- "8443:443"
networks:
Expand Down

0 comments on commit 76d8e31

Please sign in to comment.