Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Send all requests to apache
- location / {
- proxy_pass http://127.0.0.1:81;
- }
- http {
- server {
- listen MY_IP:8888;
- server_name MY_IP;
- location / {
- proxy_pass http://127.0.0.1:8888;
- }
- }
- server {
- listen MY_IP:80;
- # Send all requests to btsync.
- location / {
- proxy_pass http://127.0.0.1:81;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement