Page 1 of 1

Configuring nginx for best security.

Posted: Sat Aug 27, 2016 7:29 am
by darkworks
so today i scan my website (https://www.w3db.xyz) with mozilla new free website scanner it my site was rated F :D
after searching on github for best nginx configuration to secure me website i found
once i updated my nginx.conf file with it and try to restart nginx service from vestacp , restart failed notification i get , then i have to load old nginx.conf

so any idea to update vesta nginx.conf template with custom configurations

thanks

Re: Configuring nginx for best security.

Posted: Sat Aug 27, 2016 9:10 am
by darkworks
it was due to
server_tokens off;
after removing it , nginx tests are OK