19 lines
471 B
Plaintext
19 lines
471 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
server_tokens off;
|
|
root /var/www/html/default;
|
|
index index.html index.htm;
|
|
server_name _;
|
|
|
|
access_log /var/log/nginx/direct.ip.access.log main;
|
|
error_log /var/log/nginx/direct.ip.access.error.log crit;
|
|
access_log on;
|
|
log_not_found off;
|
|
|
|
location / {
|
|
return 444;
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|