Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream balancer.sshfs.backends {
- server 172.31.27.32:8100;
- server 172.31.27.32:8200;
- }
- server {
- listen 80;
- server_name balancer.sshfs;
- location / {
- proxy_pass http://balancer.sshfs.backends;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement