嘟嘟社区

CF设置好哪吒面板反向代理后502?


  1. location /
  2. {
  3. proxy_pass http://127.0.0.1:8008;
  4. proxy_set_header Host $host;
  5. }
  6. location /ws
  7. {
  8. proxy_pass http://127.0.0.1:8008;
  9. proxy_http_version 1.1;
  10. proxy_set_header Upgrade $http_upgrade;
  11. proxy_set_header Connection "Upgrade";
  12. proxy_set_header Host $host;
  13. }
  14. location /terminal
  15. {
  16. proxy_pass http://127.0.0.1:8008;
  17. proxy_http_version 1.1;
  18. proxy_set_header Upgrade $http_upgrade;
  19. proxy_set_header Connection "Upgrade";
  20. proxy_set_header Host $host;
  21. }

复制代码

现在访问是CF到主机 502
CF设置完全的SSL策略

你先看看不开cdn能不能正常访问,能的话你改为灵活再开cdn试试,不能的话就是你源站的问题