wordpress-nginx icon indicating copy to clipboard operation
wordpress-nginx copied to clipboard

server_page at server{} is being overriden by statis-files.conf location{}

Open decimoseptimo opened this issue 7 years ago • 0 comments

For a static site, a simple: error_page 404 /404.html; location /404.html { internal; } within the server block, never reaches.

Unless uncomment the lines https://github.com/A5hleyRich/wordpress-nginx/blob/master/global/server/static-files.conf#L2-L4

This could be reated to #18

decimoseptimo avatar Mar 16 '18 18:03 decimoseptimo