diff --git a/hosts/hub/apps/dev.nix b/hosts/hub/apps/dev.nix index e754c6d..6b5dec5 100644 --- a/hosts/hub/apps/dev.nix +++ b/hosts/hub/apps/dev.nix @@ -69,12 +69,7 @@ in }; }; - systemd.tmpfiles.rules = [ - "d /var/www 0775 root root" - ]; - - systemd.services."gitea-runner-${utils.escapeSystemdPath "${name}-linux"}".serviceConfig.ReadWritePaths = - "/var/www"; + systemd.services."gitea-runner-${utils.escapeSystemdPath "${name}-linux"}".serviceConfig.ReadWritePaths = "/var/www"; environment.systemPackages = with pkgs; [ unstable.forgejo-runner ]; diff --git a/hosts/hub/default.nix b/hosts/hub/default.nix index 5feec1a..1f69fab 100644 --- a/hosts/hub/default.nix +++ b/hosts/hub/default.nix @@ -120,17 +120,11 @@ services.caddy.virtualHosts."thewordnerd.info".extraConfig = ''redir https://www.thewordnerd.info{uri}''; - services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = '' + services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = '' file_server root * /var/www/thewordnerd.info header /.well-known/matrix/* content-type application/json - ''; - - services.caddy.virtualHosts."staging.thewordnerd.info".extraConfig = '' - file_server - root * /var/www/staging.thewordnerd.info - header /.well-known/matrix/* content-type application/json - ''; + ''; services.caddy.virtualHosts."users.thewordnerd.info".extraConfig = ''reverse_proxy localhost:17170'';