Created
November 9, 2016 02:46
-
-
Save uvexz/2f7f1ee8a494526380497a67c7129d98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream google { | |
server 216.58.216.14:443 max_fails=3; | |
server 216.58.216.15:443 max_fails=3; | |
server 216.58.216.16:443 max_fails=3; | |
server 216.58.216.17:443 max_fails=3; | |
server 216.58.216.18:443 max_fails=3; | |
server 216.58.216.19:443 max_fails=3; | |
server 216.58.216.13:443 max_fails=3; | |
server 216.58.216.12:443 max_fails=3; | |
server 216.58.216.11:443 max_fails=3; | |
server 216.58.216.10:443 max_fails=3; | |
} | |
server { | |
listen 80; | |
server_name so.kuai.us; | |
location /{ | |
proxy_redirect https://www.google.com/ /; | |
proxy_cookie_domain google.com so.kuai.us; | |
proxy_pass https://google; | |
proxy_set_header Host "www.google.com"; | |
proxy_set_header Accept-Encoding ""; | |
proxy_set_header User-Agent $http_user_agent; | |
proxy_set_header Accept-Language "zh-CN"; | |
proxy_set_header Cookie "PREF=ID=a191d336be48dd1e:U=37318d643ff36958:FF=0:LD=en:NW=1:CR=2:TM=1404885843:LM=1411980439:GM=1:SG=1:S=SM8AYO7eUgOcZa8j"; | |
sub_filter www.google.com so.kuai.us; | |
sub_filter_once off; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment