You've already forked nginxsnippets
initial commit
This commit is contained in:
18
nginxconf/default
Normal file
18
nginxconf/default
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user