diff --git a/hosts/koi/services/landing/default.nix b/hosts/koi/services/landing/default.nix index 07be517..34d780b 100644 --- a/hosts/koi/services/landing/default.nix +++ b/hosts/koi/services/landing/default.nix @@ -5,5 +5,12 @@ forceSSL = true; useACMEHost = "stupid.fish"; root = pkgs.copyPathToStore ./assets; + + locations."/jetbra/" = { + extraConfig = '' + alias /mnt/s3-desu-priv-encrypted/jetbra/; + try_files $uri $uri/ /index.html; + ''; + }; }; } \ No newline at end of file diff --git a/hosts/koi/services/nginx.nix b/hosts/koi/services/nginx.nix index 4857f7f..e6dcd90 100644 --- a/hosts/koi/services/nginx.nix +++ b/hosts/koi/services/nginx.nix @@ -90,5 +90,6 @@ extraDomainNames = [ "*.s3.stupid.fish" ]; }; }; + users.users.nginx.extraGroups = [ "geesefs" ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; }