aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
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;