404 error page don't work when project build.
Hello guys ! I have an issue with my error.vue & my apache server.
On local when i try to go to an unexistant route, my error.vue is correctly rendered.
BUT
When i build on production using nuxt build command, when i try to go on an unexistant route i have the default apache page.
This is my apache config :
This is my error.vue page (very easy one so i'm pretty sure is not the issue) :
Thanks in advance to everyone for your help !
1 Reply
Just try to deploy on railway the project and it's work. So i'm 100% sure it's a apache 2 config miss
Fixed by adding "ProxyErrorOverride Off" on my apache 2 config.
https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxyerroroverride
Thanks to @flapili.fr - ugo.co (France) :OlyHug: