From 751f77b73d0e8425b9683cc27bcd74e5c61bf078 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Tue, 9 May 2023 15:27:48 +0200 Subject: [PATCH] sombrero: Export `syncthing` to internet --- hosts/sombrero/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/sombrero/configuration.nix b/hosts/sombrero/configuration.nix index a5d7f11..aed0fe1 100644 --- a/hosts/sombrero/configuration.nix +++ b/hosts/sombrero/configuration.nix @@ -106,6 +106,15 @@ proxyPass = "http://127.0.0.1:8181"; }; }; + + virtualHosts."syncthing.sombrero.a2x.se" = { + forceSSL = true; + enableACME = true; + + locations."/" = { + proxyPass = "http://0.0.0.0:8384"; + }; + }; }; openssh = { @@ -151,6 +160,7 @@ gui = { user = "syncthing"; password = "CBLPEBrHoGPOnfdZtLibnSAaPAALXfSU"; + insecureSkipHostcheck = false; }; };