Merge pull request #36 from swamdrgon/patch-4

upstream  www-pixiv-net  IP update
This commit is contained in:
Mashiro 2020-03-06 21:41:35 -06:00 committed by GitHub
commit 01ea484ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
#}
}
}