Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream balanceado {
- # por defecto el balanceador traba en roun robin
- # descomentar solo un algormito por vez
- # less_conn;
- # ip_hash;
- server 10.0.2.20:80;
- server 10.0.2.21:80;
- }
- server {
- listen 80;
- server_name infraestructuras.cloud;
- location / {
- proxy_pass http://balanceado;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement