Fix 404 errors on syncthing access
This commit is contained in:
@@ -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" ];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user