Fix 404 errors on syncthing access

This commit is contained in:
Greg Hellings
2022-04-11 15:22:23 -05:00
parent a7fe8a3532
commit 19d8eb85b2
+1 -6
View File
@@ -9,12 +9,7 @@
enable = true;
# A proxy front-end for Syncthing
virtualHosts."dns.thehellings.lan" = {
locations = {
"/sync" = {
proxyPass = "http://127.0.0.1:8384";
proxyWebsockets = true;
};
};
locations."/sync/".proxyPass = "http://127.0.0.1:8384/";
serverAliases = [ "dns" ];
};
};