Update Server-configuration.md (#1973)

This commit is contained in:
Gregory 2023-04-15 15:02:48 +02:00 committed by GitHub
parent e0a8f961ba
commit 5f69e17310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,6 +223,10 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf
Header set Cache-Control "max-age=2628000, public, must-revalidate, proxy-revalidate" Header set Cache-Control "max-age=2628000, public, must-revalidate, proxy-revalidate"
</FilesMatch> </FilesMatch>
<FilesMatch "robots\.txt">
Require all granted
</FilesMatch>
# serve the Shaarli favicon from its custom location # serve the Shaarli favicon from its custom location
Alias favicon.ico /var/www/shaarli.mydomain.org/images/favicon.ico Alias favicon.ico /var/www/shaarli.mydomain.org/images/favicon.ico
</VirtualHost> </VirtualHost>