Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
decimoseptimo opened this issue Mar 16, 2018 · 0 comments

Comments

@decimoseptimo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant