Add lms to nginx config

This commit is contained in:
Ciapa 2024-01-05 13:04:59 +01:00
parent 3baa8be38f
commit 0dbd7fd26e
1 changed files with 15 additions and 0 deletions

View File

@ -24,6 +24,21 @@
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
''; '';
}; };
"/lms" = {
extraConfig = ''
proxy_pass http://127.0.0.1:5082;
proxy_read_timeout 900;
proxy_connect_timeout 900;
proxy_send_timeout 900;
send_timeout 900;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
'';
};
"/admin/sonarr" = { "/admin/sonarr" = {
extraConfig = '' extraConfig = ''
auth_basic "Show slit"; auth_basic "Show slit";