18 lines
709 B
Plaintext
18 lines
709 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;
|
|
}
|
|
|
|
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;
|
|
} |