increase snowflake capacity, add tor subdomain
All checks were successful
/ deploy (push) Successful in 31s
All checks were successful
/ deploy (push) Successful in 31s
This commit is contained in:
parent
25e91078bb
commit
03464d2756
3 changed files with 14 additions and 2 deletions
|
|
@ -1,7 +1,10 @@
|
|||
{config, ...}: let
|
||||
customDomain = config.customOps.domain.fqdn;
|
||||
in {
|
||||
imports = [./captiveportal.nix];
|
||||
imports = [
|
||||
./captiveportal.nix
|
||||
./tor-snowflake.nix
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
|
||||
|
|
|
|||
9
config/http/tor-snowflake.nix
Normal file
9
config/http/tor-snowflake.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{config, ...}: let
|
||||
torDomain = "tor.${config.customOps.domain.fqdn}";
|
||||
in {
|
||||
services.nginx.virtualHosts.${torDomain} = {
|
||||
root = "/var/www/${torDomain}";
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue