Compare commits
2 Commits
8558ff9ab3
...
6b94be36bb
Author | SHA1 | Date |
---|---|---|
Ciapa | 6b94be36bb | |
Ciapa | 1ef353f93f |
|
@ -9,7 +9,7 @@
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/lib/deemix_standalone:/config_deemix"
|
"/var/lib/deemix_standalone:/config_deemix"
|
||||||
"/var/lib/lidarr_standalone:/config"
|
"/var/lib/lidarr_standalone:/config"
|
||||||
"/mnt/data/media/Music:/downloads"
|
"/mnt/data/media/MusicNew:/downloads"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,28 @@
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
virtualHosts."request-music.kinda.sus.lol" = {
|
||||||
|
serverName = "request-music.kinda.sus.lol";
|
||||||
|
locations = {
|
||||||
|
"/" = {
|
||||||
|
extraConfig = ''
|
||||||
|
auth_basic "That's kinda sus, not gonna lie...";
|
||||||
|
auth_basic_user_file /run/secrets/services/nginx/music.htpasswd;
|
||||||
|
proxy_pass http://127.0.0.1:6595;
|
||||||
|
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;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
virtualHosts."kinda.sus.lol" = {
|
virtualHosts."kinda.sus.lol" = {
|
||||||
serverName = "kinda.sus.lol";
|
serverName = "kinda.sus.lol";
|
||||||
locations = {
|
locations = {
|
||||||
|
|
Loading…
Reference in New Issue