cheaper logging

This commit is contained in:
2026-01-25 16:07:43 +00:00
parent edfaf304cf
commit cd53ea3544

View File

@@ -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;