aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf')
-rw-r--r--roles/jails/12_goaccess/templates/usr_local_etc_nginx_nginx.conf23
1 files changed, 23 insertions, 0 deletions
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;
+ }
+ }
+}