Activities

May 2017
M T W T F S S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031  

NGINX : www redirection

Here are the simple Nginx rewrite rule to redirect all non www traffic to www domain.

# enforce www (exclude certain subdomains) #if ($host !~* ^(www|subdomain)) #{ #   rewrite ^/(.*)$ $scheme://www.$host/$1 permanent; #}

I took it from here http://www.farinspace.com/codeigniter-nginx-rewrite-rules/ as I see it’s the first blog I see the most of theNginx re-write rules.

NGINX : Installing SSL certificate

How do I install SSL certificate on NGINX Webserver. NGINX is most popular for hosting rails applications as well as used for fast http server for serving streaming videos and images.

Here are the steps to install Godaddy SSL certificate on Nginx server.

First you need to concatenate the both certificate and godaddy CA […]

Boosting site performance using Nginx, Php-FPM and APC

Earlier I had tried to boost the php based web application using Nginx weberver using php-cgi module. It’s also showing better performance compare to older Apache-Php module.

Ngnix is the fastest http server and we are using the power of cgi scripts to boost the php compilation speed. Obviously the combination of Nginx+ php-cgi […]