Skip to content

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

@decimoseptimo

Description

@decimoseptimo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions