IP被封庆祝十一

由于XX发威,不得不改用其他软件

以下是一些nginx配置文件(端口后面一定要加斜杠)
一定要启用mux多路复用,这个功能不启用会出现奇怪错误!

server {
  listen  443 ssl;
  ssl on;
  ssl_certificate       /root/example.com.crt; #crt证书路径
  ssl_certificate_key   /root/example.com.key; #key证书路径
  ssl_protocols         TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers           HIGH:!aNULL:!MD5;
  server_name           example.com;
        location /nginx {
        proxy_redirect off;
        proxy_pass http://127.0.0.1:10000/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $http_host;
        }
}

chmod +x install.sh
echo > ./config/server/include/ban.json
echo > ./src/ban_xx.sh
./install.sh local

发表评论