From dbfa9c70b0480c209678090bf62f2c72d68f5264 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 11 Oct 2025 17:47:46 +0300 Subject: Split jail.conf to jail.conf.d/ --- templates/homepage/etc_crontab.j2 | 9 ++++++++ .../homepage/usr_local_etc_nginx_nginx.conf.j2 | 26 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 templates/homepage/etc_crontab.j2 create mode 100644 templates/homepage/usr_local_etc_nginx_nginx.conf.j2 (limited to 'templates/homepage') diff --git a/templates/homepage/etc_crontab.j2 b/templates/homepage/etc_crontab.j2 new file mode 100644 index 0000000..8541f57 --- /dev/null +++ b/templates/homepage/etc_crontab.j2 @@ -0,0 +1,9 @@ +# /etc/crontab - root's crontab for FreeBSD +# +# +SHELL=/bin/sh +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin +# +#minute hour mday month wday who command + +# TODO: update linklog diff --git a/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 b/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 new file mode 100644 index 0000000..53d1c31 --- /dev/null +++ b/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 @@ -0,0 +1,26 @@ +worker_processes auto; + +events { + worker_connections 1024; +} + +http { + include mime.types; + default_type application/octet-stream; + + sendfile on; + keepalive_timeout 65; + + server { + listen 80 default_server; + server_name _; + + root /var/www; + + index index.html; + + location / { + try_files $uri $uri.html $uri/ =404; + } + } +} -- cgit v1.3