
| Top 20 Nginx WebServer Best Security Practices |
| From: www.cyberciti.biz read times: 143 |
Provided by yangyi at 2010-03-09 22:45:51 |
Nginx is a lightweight, high performance web server/reverse proxy and e-mail (IMAP/POP3) proxy. It runs on UNIX, GNU/Linux, BSD variants, Mac OS X, Solaris, and Microsoft Windows. According to Netcraft, 6% of all domains on the Internet use nginx webserver. Nginx is one of a handful of servers written to address the C10K problem. Unlike traditional servers, Nginx doesn't rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. Nginx powers several high traffic web sites, such as WordPress, Hulu, Github, and SourceForge. This page collects hints how to improve the security of nginx web servers running on Linux or UNIX like operating systems. Default Config Files and Nginx Port
You can test nginx configuration changes as follows: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok configuration file /usr/local/nginx/conf/nginx.conf test is successful To load config changes, type: #1: Turn On SELinuxSecurity-Enhanced Linux (SELinux) is a Linux kernel feature that provides a mechanism for supporting access control security policies which provides great protection. It can stop many attacks before your system rooted. See how to turn on SELinux for CentOS / RHEL based systems. Do Boolean LockdownRun the getsebool -a command and lockdown system: ...... Please access the below link to view the full content. Original link: http://www.cyberciti.biz/tips/li... |