From d3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 24 Feb 2023 15:04:38 +0000 Subject: T5029: Change nginx default root directory --- data/templates/https/nginx.default.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'data') diff --git a/data/templates/https/nginx.default.j2 b/data/templates/https/nginx.default.j2 index 753c3a5c9..87918c478 100644 --- a/data/templates/https/nginx.default.j2 +++ b/data/templates/https/nginx.default.j2 @@ -16,6 +16,8 @@ server { server_name {{ name }}; {% endfor %} + root /srv/localui; + {% if server.certbot %} ssl_certificate {{ server.certbot_dir }}/live/{{ server.certbot_domain_dir }}/fullchain.pem; ssl_certificate_key {{ server.certbot_dir }}/live/{{ server.certbot_domain_dir }}/privkey.pem; -- cgit v1.2.3