Last active
September 30, 2020 01:21
-
-
Save rojenzaman/979391e7dd9099068f5623d0cd4b9411 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
location = /404.html { | |
root /usr/share/nginx/error; | |
} | |
error_page 404 /404.html; | |
location = /50x.html { | |
root /usr/share/nginx/error; | |
} | |
error_page 500 502 503 504 /50x.html; | |
location = /nginx-logo.png { | |
root /usr/share/nginx/error; | |
} | |
location = /poweredby.png { | |
root /usr/share/nginx/error; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment