Advertisement
Guest User

Untitled

a guest
Nov 17th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. upstream backend {
  2. server 10.8.160.41;
  3. }
  4.  
  5. # This server accepts all traffic to port 80 and passes it to the upstream.
  6. # Notice that the upstream name and the proxy_pass need to match.
  7.  
  8. server {
  9. listen 8081;
  10.  
  11. location / {
  12. proxy_pass http://backend;
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement