• Resolved codigoverso

    (@codigoverso)


    I use Nginx as my web server, but for security reasons, I changed the visible name to another one.
    When I do this, Defender detects that my server is not compatible with the plugin.
    It would be nice to add a section where we can indicate the name of our custom server and indicate which web server we use (within the compatible ones).
    I solved my problem in the following way:

    add_filter(‘defender_get_supported_servers’,function($services){
    $services[‘mi_custom_name’]=’Nginx’;
    return $services;
    },10,1);

    Greetings

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi @codigoverso

    Hope you are doing fine!

    I have shared this information with the development team so they can evaluate it. Keep in mind that adding any feature or modifying the existing ones may take some considerable time base on the development roadmap.

    Also, thanks for sharing the code snippet that solved the issue in your particular case, since it’d useful for other plugin users.

    We really appreciate your feedback as it helps improve our plugins.

    Kind regards

    Luis

    Hi @codigoverso

    As said above, this was already forwarded to our developers for future updates and I am marking this thread as resolved, but if you have any additional questions feel free to let us know.

    Kind Regards,
    Kris

    Thread Starter codigoverso

    (@codigoverso)

    Hi

    Thank you for your help.
    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with web server name’ is closed to new replies.