upstream k8s { server 192.168.199.111:80; server 192.168.199.112:80; server 192.168.199.113:80; } server { listen 80; server_name *.ltinyho.top ltinyho.top; location / { proxy_pass http://k8s; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } }
|