2022-08-25 15:30:44 +02:00
|
|
|
# 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 {
|
2024-08-19 22:19:51 +02:00
|
|
|
proxy_pass "https://sonarr.example.com/feed/v3/calendar/Sonarr.ics?apikey=YOUR_API_KEY_HERE";
|
2022-08-25 15:30:44 +02:00
|
|
|
|
2022-09-09 22:08:34 +02:00
|
|
|
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";
|
|
|
|
|
2022-08-25 15:30:44 +02:00
|
|
|
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;
|
2024-08-19 22:19:51 +02:00
|
|
|
}
|