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;
        }
}

grpc设置h2c通讯,必须禁用MUX
 location /nginx {
        grpc_pass grpc://127.0.0.1:1000;
      grpc_ignore_headers X-Accel-Redirect;
        grpc_set_header Host $http_host;

        }
Z2l0IGNsb25lIGh0dHBzOi8vZ2l0aHViLmNvbS9QaW5hbmNoZW4vVjJyYXktYXV0byAtYiBtYXN0ZXIKY2QgVjJyYXktYXV0bwpjaG1vZCAreCBpbnN0YWxsLnNoCmVjaG8gPiAuL2NvbmZpZy9zZXJ2ZXIvaW5jbHVkZS9iYW4uanNvbgplY2hvID4gLi9zcmMvYmFuX3h4LnNoCnNlZCAtaSAnc0AkdGVzdF9kb21haW5AJGlwQCcgLi92MnJheS5zaApzZWQgLWkgJ3NAJHRlc3RfZG9tYWluQCRpcEAnIC4vaW5zdGFsbC5zaApzZWQgLWkgJ3NAInNlY3VyaXR5IkAvLyJzZWN1cml0eSJAJyAuL3RlbXBsYXRlcy9oMi5qc29uCnNlZCAtaSAnc0Aic2VjdXJpdHkiQC8vInNlY3VyaXR5IkAnIC4vY29uZmlnL3NlcnZlci9oMi5qc29uCnNlZCAtaSAnc0B2MnJheS92MnJheS1jb3JlQHYyZmx5L3YycmF5LWNvcmVAJyAuL3NyYy9kb3dubG9hZC12MnJheS5zaAouL2luc3RhbGwuc2ggbG9jYWw=

指定版本
Z2l0IGNsb25lIGh0dHBzOi8vZ2l0aHViLmNvbS9jcmF6eXBlYWNlL3YycmF5LmdpdCAtYiBtYXN0ZXIKY2QgdjJyYXkKY2htb2QgK3ggaW5zdGFsbC5zaAplY2hvID4gLi9jb25maWcvc2VydmVyL2luY2x1ZGUvYmFuLmpzb24KZWNobyA+IC4vc3JjL2Jhbl94eC5zaApzZWQgLWkgJ3NAJHRlc3RfZG9tYWluQCRpcEAnIC4vdjJyYXkuc2gKc2VkIC1pICdzQCR0ZXN0X2RvbWFpbkAkaXBAJyAuL2luc3RhbGwuc2gKc2VkIC1pICdzQCJzZWN1cml0eSJALy8ic2VjdXJpdHkiQCcgLi90ZW1wbGF0ZXMvaDIuanNvbgpzZWQgLWkgJ3NAInNlY3VyaXR5IkAvLyJzZWN1cml0eSJAJyAuL2NvbmZpZy9zZXJ2ZXIvaDIuanNvbgppZiBbWyAkKHVuYW1lIC1tKSA9PSAiYWFyY2g2NCIgXV07dGhlbgpzZWQgLWkgJ3NAdjJyYXlfZG93bmxvYWRfbGluaz0uKkB2MnJheV9kb3dubG9hZF9saW5rPVwiaHR0cHM6Ly9naXRodWIuY29tL3YyZmx5L3YycmF5LWNvcmUvcmVsZWFzZXMvZG93bmxvYWQvdjQuMjcuMC92MnJheS1saW51eC1hcm02NC12OGEuemlwXCJAJyAuL3NyYy9kb3dubG9hZC12MnJheS5zaApmaQouL2luc3RhbGwuc2ggbG9jYWwK

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

mt9备用

d2dldCAtTiAtLW5vLWNoZWNrLWNlcnRpZmljYXRlIGh0dHBzOi8vZ2l0aHViLmNvbS93aHVudDEvb25la2V5bWFrZW10Zy9yYXcvbWFzdGVyL210cHJveHlfZ28uc2ggJiYgY2htb2QgK3ggbXRwcm94eV9nby5zaCAmJiBzZWQgLWkgJ3NAJHtnb19kb3dubG9hZF9saW5rfUBodHRwczovL2dvbGFuZy5vcmcke2dvX2Rvd25sb2FkX2xpbmt9QCcgLi9tdHByb3h5X2dvLnNoICYmIGJhc2ggbXRwcm94eV9nby5zaAo=

$$备用$$

d2dldCAtTiAtLW5vLWNoZWNrLWNlcnRpZmljYXRlIGh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9DaGVubmhhb28vU1NSUi1CYXNoL21hc3Rlci9TU1Ivc3NybXUuc2ggJiYgY2htb2QgK3ggc3NybXUuc2ggJiYgYmFzaCBzc3JtdS5zaA==

此处评论已关闭