Skip to content

Conversation

@RealOrangeOne
Copy link
Contributor

@RealOrangeOne RealOrangeOne commented Sep 21, 2021

Description:

Disable nginx's server tokens (the version in the Server header)

Benefits of this PR and context:

This avoids unnecessary information exposure.

Hiding the Server header altogether on nginx is notoriously difficult, but at least hiding the version hides some information which can be very useful in a security context.

How Has This Been Tested?

Manually making the change and testing that the nginx version goes.

Source / References:

https://nginx.org/en/docs/http/ngx_http_core_module.html#server_tokens

This avoids unnecessary information exposure.

Hiding the `Server` header altogether on nginx is notoriously difficult, but at least hiding the version hides some information which can be very useful in a security context.
@LinuxServer-CI
Copy link
Contributor

@aptalca aptalca self-assigned this Sep 23, 2021
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@RealOrangeOne
Copy link
Contributor Author

Definitely not stale.

@nemchik nemchik mentioned this pull request Oct 24, 2021
@LinuxServer-CI
Copy link
Contributor

@nemchik nemchik merged commit 21d9276 into linuxserver:master Oct 24, 2021
@RealOrangeOne RealOrangeOne deleted the patch-1 branch October 24, 2021 16:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants