Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove nginx from response headers and error responses #406

Merged
merged 1 commit into from
Apr 29, 2024

Commits on Apr 19, 2024

  1. Remove nginx from response headers and error responses

    We observed that the server name (Nginx) is leaked in the header and in the body of an error message.
    
    To enhance the security posture of the web application and mitigate the risk associated with information
    disclosure, it is strongly recommended to not share the server name and/or version in any response
    information. This does include any type of error messages.
    
    Solution: adjust NGINX sources by using sed to perform an in-place substitution of the server name before building nginx
    kathap committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    1bacbe1 View commit details
    Browse the repository at this point in the history