mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-24 14:48:11 +08:00
Merge pull request #36 from swamdrgon/patch-4
upstream www-pixiv-net IP update
This commit is contained in:
commit
01ea484ffc
@ -36,9 +36,9 @@ http {
|
||||
#gzip on;
|
||||
|
||||
upstream www-pixiv-net {
|
||||
server 210.140.131.219:443;
|
||||
server 210.140.131.222:443;
|
||||
server 210.140.131.216:443;
|
||||
server 210.140.131.223:443;
|
||||
server 210.140.131.225:443;
|
||||
server 210.140.131.220:443;
|
||||
}
|
||||
|
||||
upstream sketch-pixiv-net {
|
||||
@ -274,7 +274,7 @@ http {
|
||||
ssl_certificate_key ca/pixiv.net.key;
|
||||
|
||||
location / {
|
||||
proxy_pass https://104.111.160.41/;
|
||||
proxy_pass https://104.110.72.183/;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real_IP $remote_addr;
|
||||
@ -304,24 +304,4 @@ http {
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name www.google.com;
|
||||
|
||||
ssl on;
|
||||
ssl_certificate ca/pixiv.net.crt;
|
||||
ssl_certificate_key ca/pixiv.net.key;
|
||||
|
||||
location / {
|
||||
#root html;
|
||||
#index index.html index.htm;
|
||||
rewrite ^/(.*)$ https://www.recaptcha.net/$1 redirect;
|
||||
}
|
||||
|
||||
#error_page 500 502 503 504 /50x.html;
|
||||
#/location = /50x.html {
|
||||
# root html;
|
||||
#}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user