Commit e78d0c34 authored by Mattia Rizzolo's avatar Mattia Rizzolo

nginx: return 204 with a useful message for the default site

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 3bfd8257
......@@ -7,6 +7,7 @@ server {
listen [::]:80 default;
location / {
return 404;
return 204 "This is {{ inventory_hostname }}. If you came here there is a misconfiguration somewhere. Please inform gruppo-sistemisti@liste.ubuntu-it.org about the issue.";
add_header Content-Type text/plain;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment