Set up Syncthing reverse proxy

This commit is contained in:
2019-11-13 00:00:04 +01:00
parent 84a17713ea
commit 630e32cc9d
4 changed files with 13 additions and 9 deletions

View File

@@ -54,10 +54,12 @@
proxyPass = "http://localhost:5232/";
extraConfig = ''
proxy_set_header X-Script-Name /radicale;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Authorization;
'';
};
locations."/syncthing/" = {
proxyPass = "http://localhost:8384/";
};
};
};
};