Welcome! Log In Create A New Profile

Advanced

Re: hiding the identity of nginx

March 30, 2010 05:16AM
On Tue, Mar 30, 2010 at 09:42, huet bartels <hbartels@i-neda.com> wrote:
> Dear All.
>
> Have managed to check the following files to change the identity of
> nginx to another string, plus the footer section of the error pages.

It would be easier (and more useful) to personalize your error pages.
For instance:
error_page 404 /40x.html;
location = /40x.html {
root /var/www/nginx-default/default;
}

> But when I looked at the headers via firefox the images where still
> showing nginx as the server.  Where else would I need to change this in
> the source to completely hide the string nginx from the public

The "Server: " header is what you're looking for. I'm not sure if
that's mandatory by some RFC, but you'd have to dig into other files.
If you search the archive you might find a 'patch' somewhere - whether
it still applies for current versions i don't know.

--
() ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\ ascii ribbon campaign - against html e-mail

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

hiding the identity of nginx

huet bartels March 30, 2010 04:46AM

Re: hiding the identity of nginx

vesperto March 30, 2010 05:16AM

Re: hiding the identity of nginx

huet bartels March 31, 2010 04:42AM

Re: hiding the identity of nginx

Georgi Hristozov March 30, 2010 02:14PM

Re: hiding the identity of nginx

huet bartels March 31, 2010 04:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 310
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