mirror of website with domain name substitution
please check this file
download binary file from release page release page
and run it:
web-jingzi [full path config file]
server {
server_name x.com *.x.com y.com *.y.com;
location / {
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:3003;
}
}
server {
listen 443 ssl;
server_name x.com *.x.com y.com *.y.com;
# add tls certificate here
location / {
proxy_http_version 1.1;
proxy_set_header host $http_host;
proxy_set_header X-Scheme https;
proxy_pass http://127.0.0.1:3003;
}
}
- [ok] www.google.com
- [ok] www.wikipedia.org
- [ok] zh.wikipedia.org