From 79c6171998deb6ee8821ead7971f62ea7f045ae2 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 2 Jul 2025 23:34:34 +0300 Subject: Copy over jan.systems html --- templates/usr_local_etc_nginx_nginx.conf.j2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'templates') diff --git a/templates/usr_local_etc_nginx_nginx.conf.j2 b/templates/usr_local_etc_nginx_nginx.conf.j2 index f81a82c..333e641 100644 --- a/templates/usr_local_etc_nginx_nginx.conf.j2 +++ b/templates/usr_local_etc_nginx_nginx.conf.j2 @@ -20,6 +20,21 @@ http { } } + server { + listen 80; + server_name jan.systems; + + root /usr/local/www/jan.systems; + index index.html; + + location / { + try_files $uri $uri/ =404; + } + + access_log /var/log/nginx/jan.systems/access.log; + error_log /var/log/nginx/jan.systems/error.log; + } + {% for jail in jails -%} server { listen 80; -- cgit v1.3