Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream cache {
- server 192.168.1.2:8080 fail_timeout=5s max_fails=3;
- server 127.0.0.1:82 backup;
- }
- location / {
- proxy_pass http://cache;
- proxy_next_upstream error http_502;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement