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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user