Add lms to nginx config
This commit is contained in:
parent
3baa8be38f
commit
0dbd7fd26e
|
@ -24,6 +24,21 @@
|
|||
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" = {
|
||||
extraConfig = ''
|
||||
auth_basic "Show slit";
|
||||
|
|
Loading…
Reference in New Issue