From 029aa1429956332f0022804293c514aaad29c9df Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Wed, 16 Feb 2022 23:22:49 +0300 Subject: [PATCH] syncthing. Marking as tested. Adding Nginx config sample. --- README.md | 2 +- syncthing/nginx/syncthing.conf | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 syncthing/nginx/syncthing.conf diff --git a/README.md b/README.md index 962cddf..0a76d78 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Not every stack is tested to fully work. - [x] Sonarr (prototype state, working itself, but transmission-on-host integration didn't work due to path mismatch) - [x] Speedtest (LibreSpeed) - [x] [Synapse](https://hub.docker.com/r/matrixdotorg/synapse) ([Matrix.org](https://matrix.org/) server) -- [ ] [Syncthing](https://hub.docker.com/r/linuxserver/syncthing) +- [x] [Syncthing](https://hub.docker.com/r/linuxserver/syncthing) - [x] [Tor Privoxy](https://hub.docker.com/r/dperson/torproxy) - [x] Watchtower - [ ] [Wireguard](https://hub.docker.com/r/cmulk/wireguard-docker) (prototype state, not working yet) diff --git a/syncthing/nginx/syncthing.conf b/syncthing/nginx/syncthing.conf new file mode 100644 index 0000000..fc485f6 --- /dev/null +++ b/syncthing/nginx/syncthing.conf @@ -0,0 +1,19 @@ +server { + listen 80; + server_name syncthing.domain.tld; + + #charset utf-8; + + location / { + # Recommended: https://docs.syncthing.net/users/reverseproxy.html#nginx + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + + proxy_read_timeout 600s; + proxy_send_timeout 600s; + + proxy_pass http://127.0.0.1:8384/; + } +} \ No newline at end of file