Tag Archives: Nginx

How to install Nginx as Reverse Proxy in front of Apache on Ubuntu 15.10

Index Introduction Install Apache & PHP Configure Apache and PHP Install Nginx Configure Nginx Configure Logging 1.0 Introduction Nginx or “engine-x” is a high-performance web server with low memory usage, created by Igor Sysoev in 2002. Nginx is not just

Read more ›

Nginx Security Update For All Nginx installations upto version 1.4.0

Greg MacManus, of iSIGHT Partners Labs, found a security problem in several recent versions of nginx. A stack-based buffer overflow might occur in a worker process while handling a specially crafted request, potentially resulting in arbitrary code execution (CVE-2013-2028). The

Read more ›

Prestashope Admin And Nginx Plugin

The prestashope  software need big header size to pass http. So please do the folowing to fix this issue, 1)  Edit  the vhost.conf   ( under /etc/cpnginx or /etc/danginx )  have the following too client_max_body_size    100m; client_body_buffer_size 512k; proxy_send_timeout   90; proxy_read_timeout  

Read more ›

Enable Cache in cPnginx Servers

You can enable cache in cPnginx. This will decrease the server load. But enabling cache will show the  website updates slowly only. To enable cache please do the following, 1) Modify the file /etc/cpnginx/vhost.conf as follows, client_max_body_size 10m; client_body_buffer_size 128k;

Read more ›

Nginx And HttpRealIpModule

This module is already  enabled by default in cPnginx version 6.0 or  higher . You may simply need to add the   module setting in nginx.conf as follows, set_real_ip_from   $firewall_ip1; set_real_ip_from   $firewall_ip2; real_ip_header     X-Real-IP; You  may also edit  /usr/local/apache/conf/mod_rpaf.conf with the

Read more ›