Nginx web server is becoming most popular in last year. Best server response time and minimum execution time is the advantages of Nginx server. Many people want to remove the www from URL. I will tell you the tip how … Continue reading
Category Archives: Nginx
How to install php – memcached server on centos5 or any linux OS
What is Memcached? Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an in-memory key-value store for small chunks of … Continue reading
How to install Nginx with PHP on Ubuntu
For this tutorial I am using the Ubuntu 8.10 linux version. Install Nginx # sudo apt-get install nginx If apache server is installed on your machine then please stop the apache server first. #sudo /etc/init.d/nginx start #sudo update-rc.d nginx defaults … Continue reading
nginx wordpress plugins and mannual nginx setup for worpdress
Nginx is becoming very popular to host the websites. For hosting your wordpress website on Nginx server is the best option. If you have dedicated server then go with nginx server. I found two plugins which are supported to Nginx … Continue reading
Solved:trailing slash issue with Nginx server
I added following block in my nginx.conf file. You should add following lines in your server { } block. If you want use URL without ending trailing slash. then use following code. #code block added for trailing slash issue solving … Continue reading
Nginx rule with image fix for multiple wordpress instance
I sovled the issue with Wordprss and Images. If you want to host or install two instances on one domain in that senorio you can use following code. Please Use the following code; location ~ ^.+\.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$ { #images for wordpress … Continue reading
How to host multiple rails site on Nginx
User following code in Nginx.conf file.. and paste into that file #vim /etc/nginx/nginx.conf Incoming search terms:nginx multiple rails
How to use hosts file on Mac, Windows and Linux
The hosts file is a computer file used by an operating system to map hostnames to IP addresses. On many operating systems, the host file content is used preferentially over other methods, such as the Domain Name System (DNS). Unlike … Continue reading
Compress the server response with Nginx
Maybe you aware with apache “mod_gzip and mod deflate”
Web page compression is not a new technology, but it has recently gained higher recognition in the minds of IT administrators and managers because of the rapid ROI it generates. Compression extensions exist for most of the major Web server platforms
For Apache Normally use following syntax:
………………….. Continue reading
Nginx Rule for Rails Application
Use following code for setting up Nginx for rails.