mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
Return 404 for root path
This commit is contained in:
+4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user