1 2 3 4 5 6 7 8 9 10 11 12
{...}: { services.nginx = { enable = true; virtualHosts."source.vhack.eu" = { # Redirect all request to the codeberg source locations."/".return = "301 https://codeberg.org/vhack.eu/nixos-server"; enableACME = true; forceSSL = true; }; }; }