TV-Center/nginx-location.conf

10 lines
437 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/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;
}