BTSync / BitTorrent Sync behind nginx
# take one | |
# subdirectory (one server, multiple services) | |
location /btsync/ { | |
rewrite ^/btsync/gui(.*) /btsync$1 last; | |
proxy_pass http://127.0.0.1:8888/gui/; | |
proxy_redirect /gui/ /btsync/; | |
proxy_buffering off; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
} | |
# standalone (one server, one service) | |
location / { | |
proxy_pass http://127.0.0.1:8888/; | |
proxy_buffering off; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
} |
This comment has been minimized.
This comment has been minimized.
I changed mine to just use the /gui/ as the root and it works fine:
|
This comment has been minimized.
This comment has been minimized.
I added
I can open btsync with http://ip:port/btsync |
This comment has been minimized.
This comment has been minimized.
Ver 2.7.2 work with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Warning: broken since 1.1.69!