Dumitru
New Pleskian
how to create custom 404 page if we use - FPM application served by nginx
instead of File not found. message on page
I created custom 404.html page
I tried this:
----------------------------
In Additional directives for HTTP - add ErrorDocument 404 /404.html
not working
------------------------------
add in nginx.conf add this
server {
listen 80;
error_page 404 /404.html;
location /404.html {internal;}
}
not working
-----------------------------
any other idea ?
instead of File not found. message on page

I created custom 404.html page
I tried this:
----------------------------
In Additional directives for HTTP - add ErrorDocument 404 /404.html
not working
------------------------------
add in nginx.conf add this
server {
listen 80;
error_page 404 /404.html;
location /404.html {internal;}
}
not working
-----------------------------
any other idea ?