25,980
社区成员
发帖
与我相关
我的任务
分享
server {
listen 80;
server_name tobosu.com www.tobosu.com;
index index.html;
location ^A|D[a-zA-Z0-9]{10} {
proxy_pass http://192.168.0.15:80/;
proxy_redirect off;
proxy_set_header Host t1.apache.localhost;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Referer $http_referer;
proxy_set_header Cookie $http_cookie;
proxy_connect_timeout 60;
proxy_read_timeout 600;
proxy_send_timeout 600;
}
}
^A|D[a-zA-Z0-9]{0,10}$