15 lines
351 B
Plaintext
15 lines
351 B
Plaintext
# A restrictive default virtualhost configuration.
|
|
|
|
server {
|
|
listen 80 default_server;
|
|
server_name _;
|
|
|
|
root /var/www/html;
|
|
index index.html index.htm index.nginx-debian.html;
|
|
|
|
location / {
|
|
default_type text/html;
|
|
return 404 "<span style='font-size: large'>$hostname</span>";
|
|
}
|
|
}
|