diff options
Diffstat (limited to 'cyfraeviolae.conf')
-rw-r--r-- | cyfraeviolae.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf index c1a3413..f4ade24 100644 --- a/cyfraeviolae.conf +++ b/cyfraeviolae.conf @@ -43,6 +43,11 @@ server { root /srv/cyfraeviolae; } + error_page 404 /404.html; + location = /404.html { + root /srv/cyfraeviolae; + } + listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/cyfraeviolae.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/cyfraeviolae.org/privkey.pem; |