Skip to content

Commit 74d4198

Browse files
Add docs how to add Server header to HTTP responses (#2941)
1 parent 5fa86c9 commit 74d4198

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

site/content/in-dev/unreleased/configuring-polaris-for-production.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,19 @@ polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
217217
```
218218
Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
219219

220+
### Polaris Server Header
221+
222+
Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
223+
configuration. Add the following property to one of the supported configuration sources (for example,
224+
`application.properties`) to enable it with the Polaris version string:
225+
226+
```properties
227+
quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
228+
```
229+
230+
If you prefer to scope the header to specific environments, only set the property for the desired
231+
profile (for example, `%prod`).
232+
220233
### Upgrade Considerations
221234

222235
The [Polaris Evolution](../evolution) page discusses backward compatibility and

0 commit comments

Comments
 (0)