fivetran-arunsuri commented on code in PR #2941:
URL: https://github.com/apache/polaris/pull/2941#discussion_r2488521052
##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -125,6 +125,19 @@ polaris.realm-context.require-header=true
This will cause Polaris to also return a `404 Not Found` response if the realm
header is not present
in the request.
+### Polaris Server Header
+
+Polaris can emit an informational `Server` HTTP response header using Quarkus'
built-in header
+configuration. Add the following property to one of the supported
configuration sources (for example,
+`application.properties`) to enable it with the Polaris version string:
+
+```properties
+quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
+```
+
+If you prefer to scope the header to specific environments, only set the
property for the desired
+profile (for example, `%prod`).
Review Comment:
Thanks for pointing that out, @snazy — that’s a fair observation. I do think
the current phrasing (“specific environment”) works fine here, though, since
the following example (%prod) already makes it clear that we’re referring to
Quarkus profiles.
The intent is mainly to help readers understand where to apply the property,
and the term “environment” keeps it a bit more approachable for those who might
not be deeply familiar with Quarkus terminology. I’d prefer to keep it as is,
but happy to revisit if others find it confusing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]