🔒️(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:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user