-
-
Save sstorholm/e0511553f4a837ec6a18113986a613fb to your computer and use it in GitHub Desktop.
The Last nginx Config You Will Ever Need
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
server { | |
listen 80 default_server; | |
location / { | |
return 418; | |
} | |
error_page 418 /custom_418.html; | |
location = /custom_418.html { | |
root /var/www/html/errors; | |
internal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment