summaryrefslogtreecommitdiff
path: root/data/templates/https
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-02-24 15:04:38 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-02-24 15:38:24 +0000
commitd3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d (patch)
treeb38f33e6696d8becfd175590a9a9ee79dd49e61e /data/templates/https
parenteaea1789f88082dae5b6cd12cc98bfc48221f35d (diff)
downloadvyos-1x-d3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d.tar.gz
vyos-1x-d3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d.zip
T5029: Change nginx default root directory
Diffstat (limited to 'data/templates/https')
-rw-r--r--data/templates/https/nginx.default.j22
1 files changed, 2 insertions, 0 deletions
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;