Customize Nginx Server header VestaCP
Customize Nginx Server header VestaCP
Hello,
How to change the header server costumes in nginx vestacp ?
Where is the location of 'ngx_http_header_filter_module.c' file in vestacp ?
Thanks...
How to change the header server costumes in nginx vestacp ?
Where is the location of 'ngx_http_header_filter_module.c' file in vestacp ?
Thanks...
Re: Customize Nginx Server header VestaCP
You will have to recompile nginx to get access to that file/source. Otherwise, you can try installing "nginx-extras" package, then you can use something like this:bhode18 wrote:Hello,
How to change the header server costumes in nginx vestacp ?
Where is the location of 'ngx_http_header_filter_module.c' file in vestacp ?
Thanks...
Code: Select all
more_clear_headers Server;
server_tokens off;
since https://packages.debian.org/sid/nginx-extras includes Headers More