User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:navidrome [2024/09/02 12:26] willyservices: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::/navidrome.mydomain.com** to make it easier for Subsonic integration. For more details see [[selfhost:nginx|The Reverse Proxy concept]].+I choose to install Navidrome on it's own subdomain **https://navidrome.mydomain.com** to make it easier for Subsonic integration. For more details see [[selfhost:nginx|The Reverse Proxy concept]].
  
 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://127.0.0.1:4533/rest;                         proxy_pass http://127.0.0.1:4533/rest;
-#                       proxy_set_header Host $host; +                       proxy_set_header Host $host; 
-                      proxy_set_header X-Real-IP $remote_addr; +                       proxy_set_header X-Real-IP $remote_addr; 
-                      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +                       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
-                      proxy_set_header X-Forwarded-Proto $scheme;+                       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:authelia|Authelia]]. This will automatically login your users using the SSO provided by [[services:authelia|Authelia]].
 +
 +Please note that the **/rest** location is __not__ protected by Authelia, as this would __not__ work with Subsonic apps. Authentication, in this case, is performed by Navidrome itself: users will need to setup a password within Navidrome! (this might be fixed using Authelia basic auth, but i have not tried.)
 +
 +
 +
  
 ===== Autostart ===== ===== Autostart =====

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information