🔒️(frontend) hide Nginx server version in error responses

Remove version disclosure in /assets/ error pages identified by security
auditor to prevent information leakage vulnerability.
This commit is contained in:
Quentin BEY
2025-06-05 18:24:52 +02:00
committed by Marie
parent 4c3891047b
commit 95f63fa56d

View File

@@ -1,6 +1,7 @@
server { server {
listen 8080; listen 8080;
server_name localhost; server_name localhost;
server_tokens off;
root /usr/share/nginx/html; root /usr/share/nginx/html;