Created
January 28, 2014 00:02
-
-
Save X0nic/8659912 to your computer and use it in GitHub Desktop.
nginx maintance
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
set $is_trusted_ip false; | |
if ($http_x_forwarded_for ~ "68\.148\.96\.174") { | |
set $is_trusted_ip true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment