只要nginx所在的网络可以访问到谷歌就可以进行反向代理nginx主要使用proxy_pass代理站点,例如location / {proxy_pass https://172.217.25.195/;proxy_set_header Host www.google.com.hk;}其中用IP代替域名可以免去nginx的dns查询时间