Created
August 7, 2017 10:06
-
-
Save acidsploit/5b57cccaceecb60bbdcb3b3fb1f13ae8 to your computer and use it in GitHub Desktop.
nginx simple myip service - return 200 visitor ip
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
location = / { | |
add_header Content-Type text/plain; return 200 $remote_addr; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment