Secure Nginx Server
Published:
Last modified:
Overview
Quick tips to improve the security of an nginx web server.
Avoid giving nginx info
Disables specifying nginx’s version on error pages and in the
Server
response header field disabling server_tokens.
In /etc/nginx/nginx.conf
:
http {
server_tokens off;
# ...
}
Audit with third-party app
Install wapiti
sudo apt-get install wapiti
and test your site:
wapiti http://example.org -n 10 -b folder
comments powered by Disqus
- Secure Nginx Server
- Redirect Www to Non Www With NginxAugust 30, 2018
Articles
Except as otherwise noted, the content of this page is licensed under CC BY-NC-ND 4.0 . Terms and Policy.
Powered by SimpleIT Hugo Theme
·