Mojolicious::Plugin::NoServerHeader - Removes the Server header from every Mojolicious response
# Mojolicious::Lite plugin 'NoServerHeader'; # Mojolicious $app->plugin('NoServerHeader');
Mojolicious::Plugin::NoServerHeader removes the default Server header, "Mojolicious (Perl)", from every response. This can be useful for security reasons if there was ever a known exploit for Mojolicious. If you are really concerned about this, you should also change the default error pages like the failraptor, although those are probably less obvious than a Server header in every response.
Adam Hopkins <srchulo@cpan.org>
Copyright 2019- Adam Hopkins
This library is free software; you can redistribute it and/or modify it under the same terms as Perl it.
To install Mojolicious::Plugin::NoServerHeader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::NoServerHeader
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::NoServerHeader
For more information on module installation, please visit the detailed CPAN module installation guide.