Advertisement
Sergio_Istea

balancer.sshfs vhost

Jun 13th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. upstream balancer.sshfs.backends {
  2. server 172.31.27.32:8100;
  3. server 172.31.27.32:8200;
  4. }
  5.  
  6. server {
  7. listen 80;
  8.  
  9. server_name balancer.sshfs;
  10.  
  11. location / {
  12. proxy_pass http://balancer.sshfs.backends;
  13. proxy_set_header Host $host;
  14. proxy_set_header X-Real-IP $remote_addr;
  15. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  16. proxy_set_header X-Forwarded-Proto $scheme;
  17. }
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement