- location /
- {
-
- proxy_pass http://127.0.0.1:8008;
- proxy_set_header Host $host;
- }
- location /ws
- {
-
- proxy_pass http://127.0.0.1:8008;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "Upgrade";
- proxy_set_header Host $host;
- }
- location /terminal
- {
-
- proxy_pass http://127.0.0.1:8008;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "Upgrade";
- proxy_set_header Host $host;
- }
复制代码
现在访问是CF到主机 502 CF设置完全的SSL策略 |