diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/services/cgit/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix index 3d83a70..b4e82ab 100644 --- a/modules/services/cgit/default.nix +++ b/modules/services/cgit/default.nix @@ -96,6 +96,10 @@ in }; services.nginx.virtualHosts."git.fcuny.net" = { + # make cgit the default site: if a request goes through nginx + # without a host header, this will be the default site we serve + # for that request. + default = true; forceSSL = true; enableACME = true; locations = { |