Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Use Forwarded-* Headers
  • Loading branch information
dfuchss authored Aug 28, 2024
1 parent e694447 commit f14fed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ WORKDIR /metrics
COPY --from=builder /metrics/rest/target/rest-*.jar rest.jar

EXPOSE 8080
ENTRYPOINT java -jar /metrics/rest.jar
ENTRYPOINT java -jar /metrics/rest.jar --server.use-forward-headers=true --server.forward-headers-strategy=framework

0 comments on commit f14fed0

Please sign in to comment.