Nov 21
需要编译安装 ngx_http_substitutions_filter_module 模块,试图屏蔽掉广告但是美元成功,什么时候有时间再尝试一下。
worker_processes auto; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; gzip on; server { listen 80; server_name yourdomain.com; location / { proxy_pass https://thepiratebay.org/; proxy_set_header Accept-Encoding ""; proxy_set_header Host thepiratebay.org; proxy_set_header CF-Connecting-IP ""; proxy_set_header Via "$host"; proxy_ssl_verify off; proxy_ssl_server_name on; subs_filter 'thepiratebay.org' $host; } } }
Recent Comments