Created
January 11, 2018 09:50
-
-
Save muhfaris/203b9806ff3979f2a344c0eb029e5567 to your computer and use it in GitHub Desktop.
reserve proxy : from ip address to domain name
This file contains hidden or 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
server { | |
listen 80; | |
server_name xxx.xxx.xxx.xxx; | |
# or | |
# server_name default_server | |
return 301 $scheme://domain.com$request_uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment