upstream grarana { server 192.168.188.69:3000 weight=1 max_fails=3 fail_timeout=60; } upstream openapollo { server 192.168.188.69:30089 weight=1 max_fails=3 fail_timeout=60; } upstream basisapollo { server 192.168.188.69:37089 weight=1 max_fails=3 fail_timeout=60; } upstream maintaine { server 192.168.188.69:30012 weight=1 max_fails=3 fail_timeout=60; } upstream prometheus { server 192.168.188.69:9090 weight=1 max_fails=3 fail_timeout=60; } upstream kibana_server { server 192.168.188.69:15601 weight=1 max_fails=3 fail_timeout=60; } server { listen 710; location / { root /var/www/html; index index.html index.htm; } } server { listen 711; location / { proxy_pass http://grarana; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } server { listen 712; location / { proxy_pass http://openapollo; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } server { listen 713; location / { proxy_pass http://basisapollo; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } server { listen 714; location / { proxy_pass http://maintaine; #proxy_http_version 1.1; #proxy_set_header Upgrade $http_upgrade; #proxy_set_header Connection 'upgrade'; #proxy_set_header Host $host; #proxy_cache_bypass $http_upgrade; } } server { listen 715; location / { proxy_pass http://prometheus; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } server { listen 716; location / { proxy_pass http://kibana_server; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } }