diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-02-24 15:04:38 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-02-24 15:38:24 +0000 |
commit | d3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d (patch) | |
tree | b38f33e6696d8becfd175590a9a9ee79dd49e61e /data | |
parent | eaea1789f88082dae5b6cd12cc98bfc48221f35d (diff) | |
download | vyos-1x-d3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d.tar.gz vyos-1x-d3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d.zip |
T5029: Change nginx default root directory
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/https/nginx.default.j2 | 2 |
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; |