Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:navidrome [2024/09/02 12:26] – willy | services:navidrome [2024/09/02 12:30] (current) – [Reverse Proxy] willy | ||
---|---|---|---|
Line 41: | Line 41: | ||
===== Reverse Proxy ===== | ===== Reverse Proxy ===== | ||
- | I choose to install Navidrome on it's own subdomain **https::/ | + | I choose to install Navidrome on it's own subdomain **https:// |
This example also include the Authelia integration. | This example also include the Authelia integration. | ||
Line 66: | Line 66: | ||
proxy_set_header Remote-User $remote_user; | proxy_set_header Remote-User $remote_user; | ||
proxy_buffering off; | proxy_buffering off; | ||
+ | } | ||
location /rest { | location /rest { | ||
proxy_pass http:// | proxy_pass http:// | ||
- | # proxy_set_header Host $host; | + | 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_set_header X-Forwarded-Protocol $scheme; | proxy_set_header X-Forwarded-Protocol $scheme; | ||
- | # proxy_set_header X-Forwarded-Host $http_host; | + | proxy_set_header X-Forwarded-Host $http_host; |
proxy_set_header Remote-User $remote_user; | proxy_set_header Remote-User $remote_user; | ||
proxy_buffering off; | proxy_buffering off; | ||
} | } | ||
- | } | ||
client_max_body_size 100M; | client_max_body_size 100M; | ||
Line 85: | Line 85: | ||
This will automatically login your users using the SSO provided by [[services: | This will automatically login your users using the SSO provided by [[services: | ||
+ | |||
+ | Please note that the **/rest** location is __not__ protected by Authelia, as this would __not__ work with Subsonic apps. Authentication, | ||
+ | |||
+ | |||
+ | |||
===== Autostart ===== | ===== Autostart ===== |