Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #Send all requests to apache
  2. location / {
  3. proxy_pass http://127.0.0.1:81;
  4. }
  5.  
  6. http {
  7. server {
  8. listen MY_IP:8888;
  9. server_name MY_IP;
  10.  
  11. location / {
  12. proxy_pass http://127.0.0.1:8888;
  13. }
  14. }
  15.  
  16. server {
  17. listen MY_IP:80;
  18.  
  19. # Send all requests to btsync.
  20. location / {
  21. proxy_pass http://127.0.0.1:81;
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement