This commit is contained in:
parent
d0eba574f3
commit
413f7dd102
2 changed files with 10 additions and 0 deletions
9
config/http/aur.nix
Normal file
9
config/http/aur.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{config, ...}: let
|
||||
aurDomain = "aur.${config.customOps.domain.fqdn}";
|
||||
in {
|
||||
services.nginx.virtualHosts.${aurDomain} = {
|
||||
root = "/var/www/${aurDomain}";
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@ in {
|
|||
imports = [
|
||||
./captiveportal.nix
|
||||
./tor-snowflake.nix
|
||||
./aur.nix
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue