[ADD] Favicon redirect to Apache2 docs

This commit is contained in:
Peter Pfeufer 2023-07-19 11:39:04 +02:00
parent b04c8873d0
commit 749ece45e2
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

View File

@ -75,6 +75,7 @@ Place your virtual host configuration in the appropriate section within `/etc/ht
ProxyPassMatch ^/static !
ProxyPassMatch ^/robots.txt !
ProxyPassMatch ^/favicon.ico !
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
@ -82,6 +83,7 @@ Place your virtual host configuration in the appropriate section within `/etc/ht
Alias "/static" "/var/www/myauth/static"
Alias "/robots.txt" "/var/www/myauth/static/robots.txt"
Alias "/favicon.ico" "/var/www/myauth/static/allianceauth/icons/favicon.png"
<Directory "/var/www/myauth/static">
Require all granted
@ -91,6 +93,11 @@ Place your virtual host configuration in the appropriate section within `/etc/ht
SetHandler None
Require all granted
</Location>
<Location "/favicon.ico">
SetHandler None
Require all granted
</Location>
</VirtualHost>
```