diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index a82e731..35f270a 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -9,6 +9,12 @@ http { server_tokens off; charset utf-8; + log_format geo + '$remote_addr ' + '$geoip2_country_code ' + '"$request" ' + '$status'; + types { text/javascript mjs; } @@ -43,6 +49,7 @@ http { http2 on; server_name www.$DOMAIN; + root /etc/nginx/html; index index.html;