Nginx not showing 404 page
Unanswered
Orinoco Crocodile posted this in #help-forum
Orinoco CrocodileOP
Hey,
I can't understand why my 404 page isnt working, its just redirecting to the home page
I can't understand why my 404 page isnt working, its just redirecting to the home page
server {
root REDACTED;
server_name shardborne.com;
index index.html;
error_page 404 /404.html;
location / {
try_files $uri $uri/ /index.html;
}
}2 Replies
Orinoco CrocodileOP
In fact it seems to not keep the route when I refresh the page too
Orinoco CrocodileOP
solved it 🙂