[ADD] Favicon redirect to Nginx docs

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

View File

@ -83,8 +83,6 @@ server {
server_name example.com;
location = /favicon.ico { access_log off; log_not_found off; }
location /static {
alias /var/www/myauth/static;
autoindex off;
@ -94,6 +92,10 @@ server {
alias /var/www/myauth/static/robots.txt;
}
location /favicon.ico {
alias /var/www/myauth/static/allianceauth/icons/favicon.png;
}
# Gunicorn config goes below
location / {
include proxy_params;