Created
March 13, 2014 14:24
-
-
Save anmsid/9529465 to your computer and use it in GitHub Desktop.
Nginx configuration to detect real ip of requests originating from google pagespeed service servers
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
# Google IPs IPv4 | |
set_real_ip_from 216.239.32.0/19; | |
set_real_ip_from 64.233.160.0/19; | |
set_real_ip_from 66.249.80.0/20; | |
set_real_ip_from 72.14.192.0/18; | |
set_real_ip_from 209.85.128.0/17; | |
set_real_ip_from 66.102.0.0/20; | |
set_real_ip_from 74.125.0.0/16; | |
set_real_ip_from 64.18.0.0/20; | |
set_real_ip_from 207.126.144.0/20; | |
set_real_ip_from 173.194.0.0/16; | |
set_real_ip_from 127.0.0.1; | |
real_ip_header X-Forwarded-For; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment