Compare commits
No commits in common. "56557ab5d134361085d7f4e698c6833a5c1cb68f" and "b11ee499f3ca1281983acf32d6a7422dacd90336" have entirely different histories.
56557ab5d1
...
b11ee499f3
2 changed files with 3 additions and 14 deletions
|
@ -69,12 +69,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.services."gitea-runner-${utils.escapeSystemdPath "${name}-linux"}".serviceConfig.ReadWritePaths = "/var/www";
|
||||||
"d /var/www 0775 root root"
|
|
||||||
];
|
|
||||||
|
|
||||||
systemd.services."gitea-runner-${utils.escapeSystemdPath "${name}-linux"}".serviceConfig.ReadWritePaths =
|
|
||||||
"/var/www";
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ unstable.forgejo-runner ];
|
environment.systemPackages = with pkgs; [ unstable.forgejo-runner ];
|
||||||
|
|
||||||
|
|
|
@ -120,17 +120,11 @@
|
||||||
services.caddy.virtualHosts."thewordnerd.info".extraConfig =
|
services.caddy.virtualHosts."thewordnerd.info".extraConfig =
|
||||||
''redir https://www.thewordnerd.info{uri}'';
|
''redir https://www.thewordnerd.info{uri}'';
|
||||||
|
|
||||||
services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = ''
|
services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = ''
|
||||||
file_server
|
file_server
|
||||||
root * /var/www/thewordnerd.info
|
root * /var/www/thewordnerd.info
|
||||||
header /.well-known/matrix/* content-type application/json
|
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 =
|
services.caddy.virtualHosts."users.thewordnerd.info".extraConfig =
|
||||||
''reverse_proxy localhost:17170'';
|
''reverse_proxy localhost:17170'';
|
||||||
|
|
Loading…
Add table
Reference in a new issue