]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - doc/md/Server-configuration.md
doc: server configuration: enable mod_headers
[github/shaarli/Shaarli.git] / doc / md / Server-configuration.md
index bb488ef0b2e5f678a884fba2baed24a330e1a87c..8eeb10bd34e98064fa266f9437b62187d9120bde 100644 (file)
@@ -198,7 +198,7 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf
 
 ```bash
 # Enable the virtualhost
-sudo a2ensite shaarli
+sudo a2ensite shaarli.mydomain.org
 
 # mod_ssl must be enabled to use TLS/SSL certificates
 # https://httpd.apache.org/docs/current/mod/mod_ssl.html
@@ -208,6 +208,9 @@ sudo a2enmod ssl
 # https://httpd.apache.org/docs/current/mod/mod_rewrite.html
 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
 # https://httpd.apache.org/docs/current/mod/mod_version.html
 # sudo a2enmod version