diff --git a/nik4nao.home.arpa.conf b/nik4nao.home.arpa.conf index 3aafc88..79f3805 100644 --- a/nik4nao.home.arpa.conf +++ b/nik4nao.home.arpa.conf @@ -38,9 +38,6 @@ server { proxy_set_header Connection $connection_upgrade; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Prefix /jellyfin; - - # (Optional) if you see odd redirects, uncomment: - # proxy_redirect off; } # ---- Jellyfin at /anime/ ---- @@ -58,9 +55,6 @@ server { proxy_set_header Connection $connection_upgrade; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Prefix /anime; - - # (Optional) if you see odd redirects, uncomment: - # proxy_redirect off; } # ---- Pi-hole admin at /admin/ ---- @@ -143,4 +137,16 @@ server { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Prefix /jd-bridge; } + + # ---- Dashy at /dashy/ ---- + location = /dashy { + return 302 /dashy/; + } + location /dashy/ { + proxy_pass http://dashy_upstream/; + include snippets/proxy-common.conf; + + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Prefix /dashy; + } } diff --git a/upstreams.conf b/upstreams.conf index 7ad3f86..3b1578b 100644 --- a/upstreams.conf +++ b/upstreams.conf @@ -29,3 +29,8 @@ upstream djellyfin_upstream { server 127.0.0.1:8096; keepalive 32; } + +upstream dashy_upstream { + server 127.0.0.1:8084; + keepalive 16; +}