Replies: 2 comments 3 replies
-
quarkus.http.response.headers."/*".Cache-control=none |
Beta Was this translation helpful? Give feedback.
2 replies
-
Another alternative - give the matching nature of the path - would be something like this: quarkus.http.by-path.my-app.header.Cache-control=none
quarkus.http.by-path.my-app.matches=/app/*|/other-path|/blah This gets the matching part out of the configuration key, which in turn makes it possible to override the path matching using a system property e.g. In other words, since the pattern is part of the configuration, maybe it doesn't actually belong in the key after all. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The existing Additional HTTP Headers guide does not let you specify different header values for different paths (see the original issue here) .
The following PR introduces a new way of configuring fixed HTTP headers for a given path:
quarkus.http.filter
config #25056However, naming is hard, therefore, we'd like to know your opinion on a good configuration option for this feature.
9 votes ·
Beta Was this translation helpful? Give feedback.
All reactions