diff --git a/docs/installation/nginx.md b/docs/installation/nginx.md index 189bd3cd..f05a01db 100644 --- a/docs/installation/nginx.md +++ b/docs/installation/nginx.md @@ -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;