Created
September 11, 2017 08:21
-
-
Save ahallrq/62ed4c41efb9f8b14483c6f2aa7215d6 to your computer and use it in GitHub Desktop.
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
error_page 400 /errordocs/400.html; | |
error_page 401 /errordocs/401.html; | |
error_page 403 /errordocs/403.html; | |
error_page 404 /errordocs/404.html; | |
error_page 500 /errordocs/500.html; | |
error_page 502 /errordocs/502.html; | |
error_page 503 /errordocs/503.html; | |
error_page 504 /errordocs/504.html; | |
location /errordocs | |
{ | |
root /var/www/; | |
allow all; | |
expires 30d; | |
add_header Pragma public; | |
add_header Cache-Control "public"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment