matrix-docker-ansible-deploy icon indicating copy to clipboard operation
matrix-docker-ansible-deploy copied to clipboard

Hide NGINX Server Version

Open Siam-1998 opened this issue 1 year ago • 1 comments

when i enter "element.mydomainname/sitemap.xml" it showing my nginix version. i need to hide NGINX version. Screenshot 2023-05-09 at 15-27-17 404 Not Found

Matrix Server: Ubuntu22.04 server Architecture amd64

Siam-1998 avatar May 09 '23 09:05 Siam-1998

https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/roles/custom/matrix-client-element/templates/nginx.conf.j2 There's currently no variable for additional configuration directives in that template. Why do you want to set server_tokens off?

rltas avatar May 11 '23 13:05 rltas