Advertisement
NLinker

Nginx as the rev proxy

Jan 24th, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.34 KB | None | 0 0
  1. ~/v/Vertigo-Social ❯❯❯ sudo iptables -L -v -n --line-numbers
  2.  
  3. # http://serverfault.com/a/734400
  4. resolvers dns
  5.   nameserver public-0  xx.xx.xx.xx:53
  6.   hold valid 1s
  7.  
  8. frontend http
  9.   bind *:8000
  10.   default_backend site-backend
  11.  
  12. backend site-backend
  13.   balance leastconn
  14.   server site sub.example.com:80 resolvers dns check inter 1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement