summary refs log tree commit diff stats
path: root/system/services/redirects/default.nix
blob: 2e175ea7df1f7bc59b65448789ab0392d194788f (plain) (blame)
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 = false;
      forceSSL = false;
    };
  };
}