From badf52135e97531e6c91743322bdbe16105b43e5 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 9 Jul 2026 22:13:03 +0300 Subject: Refactor jails --- .../templates/usr_local_etc_nginx_nginx.conf | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf (limited to 'roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf') diff --git a/roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf b/roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf new file mode 100644 index 0000000..fa6c329 --- /dev/null +++ b/roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf @@ -0,0 +1,23 @@ +worker_processes 1; + +events { + worker_connections 128; +} + +http { + include mime.types; + default_type application/octet-stream; + sendfile on; + + server { + listen 80; + server_name _; + + root /var/db/goaccess/html; + index index.html; + + location / { + try_files $uri $uri/ =404; + } + } +} -- cgit v1.3