Initial commit: Arr Summary source from server
This commit is contained in:
commit
c1e30bc8f0
37 changed files with 11661 additions and 0 deletions
34
nginx/greendale-subpath.conf
Normal file
34
nginx/greendale-subpath.conf
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# ─────────────────────────────────────────────────────────────
|
||||
# Greendale Media Centre — Nginx Reverse Proxy Config
|
||||
# SUBPATH variant: https://yourdomain.com/media/
|
||||
#
|
||||
# Use this if you want to host under a path on an existing domain
|
||||
# instead of a dedicated subdomain.
|
||||
#
|
||||
# NOTE: The Flask app already serves from "/" — Nginx strips the
|
||||
# /media prefix and the app sees clean paths.
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name yourdomain.com;
|
||||
|
||||
# ... your existing SSL/other config above ...
|
||||
|
||||
# ── Proxy to Greendale Media Centre ──
|
||||
location /media/ {
|
||||
proxy_pass http://YOUR_UNRAID_IP:5055/;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_read_timeout 90;
|
||||
|
||||
# Required so cookies set at "/" work on the /media/ sub-path
|
||||
proxy_cookie_path / /media/;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue