标签【Nginx】下的文章

主域名: www.gxtest.com主网站: http://127.0.0.1:8090子网站: http://127.0.0.1:8604将子网站映射到主网站的 /Attachment 目录。server { #监听443端口 listen 443; #对应的域名 server_name www.gxte...

Nginx支持Websocket反向代理1)编辑nginx.conf,在http区域内一定要添加下面配置:map $http_upgrade $connection_upgrade { default upgrade; '' close; } 2)编辑vhosts下虚拟主机的配置文件,在location匹配配置中添加如下内容:proxy...