diff --git a/nginx/sites-available/i.ayaya.beauty.conf b/nginx/sites-available/i.ayaya.beauty.conf index e2f29d1..c22cb6b 100644 --- a/nginx/sites-available/i.ayaya.beauty.conf +++ b/nginx/sites-available/i.ayaya.beauty.conf @@ -11,6 +11,9 @@ server { # access_log off; index index.html; + error_page 403 =301 https://ayaya.beauty/; + error_page 404 = /404.png + listen 443 http3; listen 443 http2 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/i.ayaya.beauty/fullchain.pem; # managed by Certbot