Caddy

MobaXterm Personal 20.3 1w7YtBj5mL - Create a custom 404 error page for static sites with Caddy

Create a custom 404 error page for static sites with Caddy

If you are using Caddy 2 web server, the handle_errors directive allows creating a new rule for serving a custom page on a 404 error. In this example I have created a custom 404 template in a file named 404.php and the following directive is set:...