Update Server-configuration.md (#1973)
This commit is contained in:
parent
e0a8f961ba
commit
5f69e17310
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue