Fix 404 errors on syncthing access
This commit is contained in:
@@ -9,12 +9,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
# A proxy front-end for Syncthing
|
# A proxy front-end for Syncthing
|
||||||
virtualHosts."dns.thehellings.lan" = {
|
virtualHosts."dns.thehellings.lan" = {
|
||||||
locations = {
|
locations."/sync/".proxyPass = "http://127.0.0.1:8384/";
|
||||||
"/sync" = {
|
|
||||||
proxyPass = "http://127.0.0.1:8384";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
serverAliases = [ "dns" ];
|
serverAliases = [ "dns" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user