changed logging parameters
This commit is contained in:
parent
af9497a881
commit
741a7f2521
@ -5,6 +5,12 @@ server {
|
|||||||
root /var/www/html/default;
|
root /var/www/html/default;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
server_name _;
|
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 / {
|
location / {
|
||||||
return 444;
|
return 444;
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
|
Loading…
Reference in New Issue
Block a user