-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
web: Remove version from server header #2935
Comments
You can override You could perhaps request that project to provide a config option, but they are probably not interested: jupyterhub/jupyterhub#1674 - you probably want to put it behind a reverse-proxy: https://jupyterhub.readthedocs.io/en/stable/reference/config-proxy.html |
This request comes up periodically - security compliance checklists often say you should hide version numbers here. I think that's generally silly, but on the other hand there's no strong reason to include the version in the first place. I think we should probably at least remove the version from the server header, and maybe just remove it completely. |
Use a custom
|
Oh, I had forgotten all about OutputTransforms. That would work, although OutputTransform is undocumented and I've never really considered them as part of the web module's public API so I wouldn't want to encourage this (the HTTPMessageDelegate interfaces would be a supported way to do the same thing). Better to just change the source to stop emitting the server header completely. |
Hi, I'm using Tornado 6.0.4 and I tried the solution above but I've noticed that my
Without the Any idea why it doesn't work together with the |
Specifying the Lines 2040 to 2045 in aa9d32d
Use Lines 2128 to 2129 in aa9d32d
|
Hi all
I would like to know how I can hide the http headers of Jupyterhub since it appears in Server: Tornado 5.1.1, I do not want the tornado version to appear
Thanks a lot
The text was updated successfully, but these errors were encountered: