cheaper logging
This commit is contained in:
@@ -9,6 +9,12 @@ http {
|
|||||||
server_tokens off;
|
server_tokens off;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
|
log_format geo
|
||||||
|
'$remote_addr '
|
||||||
|
'$geoip2_country_code '
|
||||||
|
'"$request" '
|
||||||
|
'$status';
|
||||||
|
|
||||||
types {
|
types {
|
||||||
text/javascript mjs;
|
text/javascript mjs;
|
||||||
}
|
}
|
||||||
@@ -43,6 +49,7 @@ http {
|
|||||||
http2 on;
|
http2 on;
|
||||||
server_name www.$DOMAIN;
|
server_name www.$DOMAIN;
|
||||||
|
|
||||||
|
|
||||||
root /etc/nginx/html;
|
root /etc/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user