Timeline for nginx .conf redirect to 404.php
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 20 at 15:03 | comment | added | Richard Smith |
You state that http://mywebsite.com/404.php works, but it shouldn't as location = /404.php matches the URL but is marked internal . Use sudo nginx -T (uppercase T ) to view the entire configuration across all included files and ensure that the configuration appears as stated in your question. Also, check the access log and error log for any related messages.
|
|
S May 20 at 14:34 | review | First questions | |||
May 20 at 16:49 | |||||
S May 20 at 14:34 | history | asked | tiago calado | CC BY-SA 4.0 |