1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| user nginx; worker_processes 1;
events { worker_connections 1024; }
http { include mime.types; default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
upstream hashserver{ ip_hash; server 47.98.131.180:8090; server 47.98.131.180:9090; } server { listen 80; server_name 47.98.131.180; location /TestWeb { root /usr/share/nginx/wwwroot/; index index.html index.htm; } location /blog-0.0.1-SNAPSHOT { proxy_pass http://hashserver; }
}
}
|