summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-24 17:37:57 +0100
committerGitHub <noreply@github.com>2023-02-24 17:37:57 +0100
commit73ceaaafa9e7f14c25ccafe0789ba89933ab7b14 (patch)
tree8c362e69deb333230226a48e23fa97a73910d455 /data
parent42e758dde8e084ebb336f995b9b0af3bf4a82d96 (diff)
parentd3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d (diff)
downloadvyos-1x-73ceaaafa9e7f14c25ccafe0789ba89933ab7b14.tar.gz
vyos-1x-73ceaaafa9e7f14c25ccafe0789ba89933ab7b14.zip
Merge pull request #1848 from sever-sever/T5029
T5029: Change nginx default root directory
Diffstat (limited to 'data')
-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 3463bc37d..d42b3b389 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;