summaryrefslogtreecommitdiff
path: root/data/templates/https
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-01-29 09:13:30 -0600
committerGitHub <noreply@github.com>2026-01-29 09:13:30 -0600
commit8944d5e4aea06e0c501880204c49a32494df8966 (patch)
tree6df39f1b2f6f20a5e3ff0647032c44a1da85dee0 /data/templates/https
parent707b3e92a5c8c3ffaa3c5bec831d7796452efd72 (diff)
parent8fcaa97be4d7532a9efc61e52672d09f1c12be02 (diff)
downloadvyos-1x-8944d5e4aea06e0c501880204c49a32494df8966.tar.gz
vyos-1x-8944d5e4aea06e0c501880204c49a32494df8966.zip
Merge pull request #4957 from sever-sever/T6734
T6734: Nginx disable software version reporting
Diffstat (limited to 'data/templates/https')
-rw-r--r--data/templates/https/nginx.default.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/https/nginx.default.j2 b/data/templates/https/nginx.default.j2
index 47280c9f0..cf87fb309 100644
--- a/data/templates/https/nginx.default.j2
+++ b/data/templates/https/nginx.default.j2
@@ -18,6 +18,7 @@ server {
listen [::]:{{ port }} ssl;
{% endif %}
+ server_tokens off;
server_name {{ hostname }};
root /srv/localui;