commit 317baacb1f121e56c4838ddc80994a8c971b2d2a
parent 1555167a4bdf02f8350efcb36bd3358563c18f14
Author: Silas Brack <silasbrack@gmail.com>
Date: Sat, 13 Jun 2026 14:07:03 +0200
fix: use port 9090 for logs vhost (port 80 has global SSL redirect)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/simple-web-app.nix b/modules/simple-web-app.nix
@@ -68,7 +68,7 @@ in
# Serve logs on VPN only — separate vhost on the WireGuard interface
systemd.services.nginx.after = [ "wireguard-wg0.service" ];
services.nginx.virtualHosts."simple-web-app-logs" = {
- listen = [{ addr = "10.100.0.1"; port = 80; }];
+ listen = [{ addr = "10.100.0.1"; port = 9090; }];
locations."/" = {
root = "/mnt/volume-hel1-1/simple-web-app/logs";
extraConfig = "autoindex on;";