doc: server configuration: enable mod_headers

This commit is contained in:
nodiscc 2020-08-16 19:16:01 +02:00
parent 5eece37b0a
commit 19489e92d7

View file

@ -208,6 +208,9 @@ sudo a2enmod ssl
# https://httpd.apache.org/docs/current/mod/mod_rewrite.html # https://httpd.apache.org/docs/current/mod/mod_rewrite.html
sudo a2enmod rewrite sudo a2enmod rewrite
# mod_headers must be enabled to set custom headers from the server config
sudo a2enmod headers
# mod_version must only be enabled if you use Apache 2.2 or lower # mod_version must only be enabled if you use Apache 2.2 or lower
# https://httpd.apache.org/docs/current/mod/mod_version.html # https://httpd.apache.org/docs/current/mod/mod_version.html
# sudo a2enmod version # sudo a2enmod version