cleanup
This commit is contained in:
@@ -8,9 +8,6 @@
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
email = "titaniumtown@proton.me";
|
||||
globalConfig = ''
|
||||
auto_https disable_redirects
|
||||
'';
|
||||
virtualHosts = {
|
||||
${service_configs.https.domain} = {
|
||||
extraConfig = ''
|
||||
@@ -39,13 +36,13 @@
|
||||
"bitmagnet.${service_configs.https.domain}".extraConfig = ''
|
||||
tls internal
|
||||
${import ../secrets/caddy_auth.nix}
|
||||
reverse_proxy http://192.168.15.1:${builtins.toString service_configs.ports.bitmagnet}
|
||||
reverse_proxy ${service_configs.https.wg_ip}:${builtins.toString service_configs.ports.bitmagnet}
|
||||
'';
|
||||
|
||||
"torrent.${service_configs.https.domain}".extraConfig = ''
|
||||
tls internal
|
||||
${import ../secrets/caddy_auth.nix}
|
||||
reverse_proxy http://192.168.15.1:${builtins.toString service_configs.ports.torrent}
|
||||
reverse_proxy ${service_configs.https.wg_ip}:${builtins.toString service_configs.ports.torrent}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
serverConfig.Preferences.WebUI = {
|
||||
AlternativeUIEnabled = true;
|
||||
RootFolder = "${pkgs.fetchzip {
|
||||
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.17.0/vuetorrent.zip";
|
||||
hash = "sha256-PpumQCgIZp9wENL1XZvf7CdUAW9W0pQP5wqtG9oOUpM=";
|
||||
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.18.0/vuetorrent.zip";
|
||||
sha256 = "Z+N1RgcF67R6hWEfmfBls1+YLWkhEJQuOVqXXJCyptE=";
|
||||
}}";
|
||||
|
||||
# disable auth because we use caddy for auth
|
||||
|
||||
Reference in New Issue
Block a user