Welcome! Log In Create A New Profile

Advanced

Re: Hide the Nginx version info

Juan Fco. Giordana
November 25, 2009 04:16AM
himesh wrote:
> Hi all,
>
> Is there a possible way too hide the nginx version that is shown for
> a return value of 403, 500 etc..

http://wiki.nginx.org/NginxChsHttpCoreModule#error_page

server {
listen 80;
server_name www.example.com;
root /srv/www/www.example.com
index index.html;
...

# redirect server error pages to the static page /50x.html
error_page 404 /404.html;
error_page 410 /410.html;
error_page 413 /413.html;
error_page 503 /503.html;
error_page 500 502 504 /50x.html;

location / {
...
}
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Hide the Nginx version info

himesh November 25, 2009 03:51AM

Re: Hide the Nginx version info

Joe November 25, 2009 04:12AM

Re: Hide the Nginx version info

Eduardo Velasques November 25, 2009 08:06PM

Re: Hide the Nginx version info

Juan Fco. Giordana November 25, 2009 04:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 147
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready