From ec536c66a0b1900f689fd43b654ad67d65c73da2 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Wed, 19 Jul 2023 11:40:14 +0200 Subject: [PATCH] [ADD] Favicon redirect to Nginx docs --- docs/installation/nginx.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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;