diff --git a/nik4nao.home.arpa.conf b/nik4nao.home.arpa.conf index 429fa99..facf504 100644 --- a/nik4nao.home.arpa.conf +++ b/nik4nao.home.arpa.conf @@ -20,6 +20,15 @@ server { location = /pihole { return 302 /admin/; } + + # ---- favicon (avoid noisy 404 in browser) ---- + # Put a favicon.ico in /var/www/html if you want a real icon. + location = /favicon.ico { + root /var/www/html; + access_log off; + try_files /favicon.ico =404; + } + location /pihole/ { return 301 /admin/; } @@ -147,6 +156,9 @@ server { proxy_pass http://127.0.0.1:8084/; include snippets/proxy-common.conf; + add_header X-Dashy-Proxy 1 always; + access_log /var/log/nginx/dashy_access.log; + proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Prefix /dashy;