Differences
This shows you the differences between two versions of the page.
| en:use_authelia_to_login_to_lms [2026-08-21 18:58] – created iacchi | en:use_authelia_to_login_to_lms [2026-08-21 19:39] (current) – iacchi | ||
|---|---|---|---|
| Line 124: | Line 124: | ||
| | | ||
| proxy_pass $upstream; | proxy_pass $upstream; | ||
| + | } | ||
| + | | ||
| + | # The access for subsonic clients is managed via LMS' login system, because they don't support header forwarding | ||
| + | location /rest/ { | ||
| + | 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 https; | ||
| + | proxy_set_header X-Forwarded-Host $http_host; | ||
| + | proxy_set_header Host $host; | ||
| + | proxy_max_temp_file_size 0; | ||
| + | proxy_pass $upstream; | ||
| + | proxy_read_timeout | ||
| + | proxy_redirect http:// https://; | ||
| } | } | ||
| } | } | ||
| </ | </ | ||