Parameters: the version is exposed in http header only when configured

Currently the version is exposed in a 'Server' http headers.

This commit allows to parameterize it in the settings. By defaults it is
not exposed.

Fixes #3423
This commit is contained in:
Tristram Gräbener 2019-04-15 16:02:46 +02:00 committed by muxator
parent 8453f07205
commit 28a6f505c5
3 changed files with 20 additions and 1 deletions

View file

@ -409,6 +409,13 @@
*/
/*
* Expose Etherpad version in the Server http header.
*
* Do not enable on production machines.
*/
"exposeVersion": false,
/*
* The log level we are using.
*
* Valid values: DEBUG, INFO, WARN, ERROR