Rick_C137 OP , 2 days ago ok I've found something that ~works ! server { listen 443 ssl; server_name _; ssl_certificate /etc/nginx/ssl/catchall.crt; ssl_certificate_key /etc/nginx/ssl/catchall.key; error_page 404 /404.html; #at /var/www/html/ location /404.html {internal;} return 404; } so i get the default 404 html from nginx. but not the one that I specified error_page 404 /404.html; any ideas ?
ok I've found something that ~works !
server { listen 443 ssl; server_name _; ssl_certificate /etc/nginx/ssl/catchall.crt; ssl_certificate_key /etc/nginx/ssl/catchall.key; error_page 404 /404.html; #at /var/www/html/ location /404.html {internal;} return 404; }
so i get the default 404 html from nginx. but not the one that I specified error_page 404 /404.html; any ideas ?
error_page 404 /404.html;