![]() See our previous blog post, “ Top 20 Nginx WebServer Best Security Practices” for more information. ![]() See Linux Kernel /etc/nf Security Hardening faq for detailed explanation of above directives. # Increase system file descriptor limit to You can edit /etc/sysconfig/iptables manually and set the firewall too. Run the following command to set and customize firewall as described above: Set eth1 as trusted device so that communication take place between nginx reverse proxy and Apache/Lighttpd backend servers.Drop all INPUT/OUTPUT chain traffic by default.Proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for Īccess_log /var/log/nginx/log/.log main Įrror_log /var/log/nginx/log/.log Proxy_pass proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504 Server_name access_log /var/log/nginx/log/main Įrror_log /var/log/nginx/log/root /usr/share/nginx/html Verifying : nginx-1.2.86_64 1/1Ĭonfigure the nginx web server as reverse proxyĮdit /etc/nginx/conf.d/nf, enter: ![]() If you have questions about commercial support for NGINX please visit: > Package nginx.x86_64 0:1.2. will be installed Type the following command to install nginx web server: Make sure both and point to public IP address 202.54.1.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |