Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. upstream low_priority {
  2. server host1.example.com;
  3. server host2.example.com;
  4. }
  5.  
  6. upstream medium_priority {
  7. server host1.example.com;
  8. server host2.example.com;
  9. server host3.example.com;
  10. server host4.example.com;
  11. }
  12.  
  13. upstream high_priority {
  14. server host1.example.com;
  15. server host2.example.com;
  16. server host3.example.com;
  17. server host4.example.com;
  18. server host5.example.com;
  19. server host6.example.com;
  20. }
  21.  
  22. server {
  23. listen 80;
  24. server_name example.com;
  25.  
  26. location /low-priority-order {
  27. proxy_pass http://low_priority;
  28. }
  29.  
  30. location /medium-priority-order {
  31. proxy_pass http://medium_priority;
  32. }
  33.  
  34. location /high-priority-order {
  35. proxy_pass http://high_priority;
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement