TV-Center/nginx-location.conf

19 lines
713 B
Plaintext

# This is purely a sample config for proxying Sonarr's ICS
# Since that normally requires the API key, which you normally don't want to expose to the public.
location /sonarr-ics {
proxy_pass "https://sonarr.example.com/feed/v3/calendar/Sonarr.ics?apikey=YOUR_API_KEY_HERE";
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;
}
location /sonarr-series {
proxy_pass "https://sonarr.example.com/api/v3/series?apikey=YOUR_API_KEY_HERE";
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;
}