Add staging.thewordnerd.info.

This commit is contained in:
Nolan Darilek 2025-02-19 12:28:20 -06:00
parent b11ee499f3
commit 77074c7d87

View file

@ -120,11 +120,17 @@
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'';