aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-07-02 23:34:34 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-07-02 23:34:34 +0300
commit79c6171998deb6ee8821ead7971f62ea7f045ae2 (patch)
tree1d294c0a33e75f1888bc9a3db960a5a764eaabaf /templates
parent5c235db068ae5b604a2a315f8bdbba0e7853a756 (diff)
Copy over jan.systems html
Diffstat (limited to 'templates')
-rw-r--r--templates/usr_local_etc_nginx_nginx.conf.j215
1 files changed, 15 insertions, 0 deletions
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;