Request URL: http://localhost:8066/black/list?search=&page=1&limit=10
Request Method: GET
Status Code: 404
Remote Address: 127.0.0.1:8066
Referrer Policy: no-referrer-when-downgrade
Request URL: http://localhost:81/black/list?search=&page=1&limit=10
Request Method: GET
Status Code: 200
Remote Address: [::1]:81
Referrer Policy: no-referrer-when-downgrade
upstream serverlist {
server 127.0.0.1:81 weight=1;
server 127.0.0.1:83 weight=2;
server 127.0.0.1:85 weight=3;
}
#gzip on;
server {
listen 8066;
server_name 127.0.0.1;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
#root \blacklist;
#index \black-list.html;
proxy_pass http://serverlist;
proxy_redirect default;
proxy_connect_timeout 1s;
proxy_read_timeout 5s;
proxy_send_timeout 2s;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
add_header 'Access-Control-Allow-Headers' 'Content-Type';
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET';
}
location ~ .*\.(html|htm|gif|jpg|jpeg|bmp|png|ico|txt|js|css|woff)$ {
proxy_pass http://serverlist;
}
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.