摘要: http { map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { ... location /chat/ { proxy_pass http://backend; proxy_http_versi 阅读全文
posted @ 2020-07-09 21:58 粗哥 阅读(205) 评论(0) 推荐(0) 编辑
摘要: user www www; worker_processes 2; pid /var/run/nginx.pid; # [ debug | info | notice | warn | error | crit ] error_log /var/log/nginx.error_log info; e 阅读全文
posted @ 2020-07-09 21:56 粗哥 阅读(305) 评论(0) 推荐(0) 编辑