Return 404 for root path

This commit is contained in:
2023-08-19 17:18:53 +02:00
parent d877f075d1
commit ef764de3ae
@@ -16,6 +16,10 @@ server {
{% endif %}
{% endfor %}
location = / {
return 404;
}
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/{{ spring_domain }}/fullchain.pem; # managed by Certbot