Created
November 26, 2018 21:27
-
-
Save oranenj/fd69c7a1332d37ce946e304a276b4546 to your computer and use it in GitHub Desktop.
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
http { | |
server { | |
listen *:80; | |
# _ is default | |
server_name _; | |
return 403; | |
} | |
server { | |
listen *:80; | |
server_name your.domain.here; | |
... do something else ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment