diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-10-11 17:47:46 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-10-11 17:47:46 +0300 |
| commit | dbfa9c70b0480c209678090bf62f2c72d68f5264 (patch) | |
| tree | a2eac68286fab97f274c2deb09ff42c3802e945e /templates/homepage | |
| parent | 3117429d1eb122382e78e6cb27a07dd878f7c0e9 (diff) | |
Split jail.conf to jail.conf.d/
Diffstat (limited to 'templates/homepage')
| -rw-r--r-- | templates/homepage/etc_crontab.j2 | 9 | ||||
| -rw-r--r-- | templates/homepage/usr_local_etc_nginx_nginx.conf.j2 | 26 |
2 files changed, 35 insertions, 0 deletions
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; + } + } +} |
