• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved How to disable Nginx server signature?

raytracy

Basic Pleskian
I have turned the server_tokens off that disabled nginx version, but still disclosure the server signature:

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 24 Nov 2016 11:54:25 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive


It seems the only way to disable it is re-compile from source, but that will break the yum update capability.
Is there any way to disable or overwrite the default signature and still can be update from yum repository in future?
 
Hi raytracy,

the setting "server_tokens off;" in your "nginx.conf" only prevents the reply of the VERSION NUMBER, but does not prevent the reply of the webserver - name itself.

Quoted from the official NGINX documents:
Enables or disables emitting nginx version in error messages and in the “Server” response header field.

If you would like to achieve the complete reply-prevention ( for whatever reason :rolleyes: ), you have to compile NGINX with for example the module => "headers_more", where you are then able to use for example:
Code:
more_set_headers 'Server: NONE-OF-YOUR-BUISINESS';
or you may clear the COMPLETE reply with
Code:
more_clear_headers 'Server';


It seems the only way to disable it is re-compile from source, but that will break the yum update capability.
Correct.

Is there any way to disable or overwrite the default signature and still can be update from yum repository in future?
There are only the above described methods.
 
Back
Top