nginx

Want to support HowtoForge? Become a subscriber!
 

Serving CGI Scripts With Nginx On OpenSUSE 12.2

Serving CGI Scripts With Nginx On OpenSUSE 12.2

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on OpenSUSE 12.2. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On OpenSUSE 12.2

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On OpenSUSE 12.2

Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on an OpenSUSE 12.2 server with PHP5 support (through PHP-FPM) and MySQL support.

Running Question2Answer On Nginx (LEMP) On Debian Squeeze/Ubuntu 12.10

Running Question2Answer On Nginx (LEMP) On Debian Squeeze/Ubuntu 12.10

This tutorial shows how you can install and run a Question2Answer web site on a Debian Squeeze or Ubuntu 12.10 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files. Question2Answer is a free and open source platform for Q&A sites.

Rate Limiting With nginx

Rate Limiting With nginx

This article explains how to use the nginx HttpLimitReqModule to limit the number of requests for a given session. This is useful, for example, if your site is hammered by a bot doing multiple requests per second and thus increasing your server load. With the HttpLimitReqModule you can define a rate limit, and if a visitor exceeds this rate, he will get a 503 error.

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 12.10

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 12.10

Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on an Ubuntu 12.10 server with PHP5 support (through PHP-FPM) and MySQL support (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP).

How To Set Up nginx As A Reverse Proxy For Apache2 On Ubuntu 12.04

How To Set Up nginx As A Reverse Proxy For Apache2 On Ubuntu 12.04

nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can set up nginx as a reverse proxy on front of an Apache2 web server on Ubuntu 12.04.

Make Browsers Cache Static Files On nginx

Make Browsers Cache Static Files On nginx

This tutorial explains how you can configure nginx to set the Expires HTTP header and the max-age directive of the Cache-Control HTTP header of static files (such as images, CSS and Javascript files) to a date in the future so that these files will be cached by your visitors' browsers. This saves bandwidth and makes your web site appear faster (if a user visits your site for a second time, static files will be fetched from the browser cache).

Serving CGI Scripts With Nginx On Fedora 17

Serving CGI Scripts With Nginx On Fedora 17

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Fedora 17. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.

Configuring Your LEMP System (Linux, nginx, MySQL, PHP-FPM) For Maximum Performance

Configuring Your LEMP System (Linux, nginx, MySQL, PHP-FPM) For Maximum Performance

If you are using nginx as your webserver, you are looking for a performance boost and better speed. nginx is fast by default, but you can optimize its performance and the performance of all parts (like PHP and MySQL) that work together with nginx. Here is a small, incomprehensive list of tips and tricks to configure your LEMP system (Linux, nginx, MySQL, PHP-FPM) for maximum performance. These tricks work for me, but your mileage may vary. Do not implement them all at once, but one by one and check what effect the modification has on your system's performance.

Using GeoIP With Nginx On Ubuntu 12.04

Using GeoIP With Nginx On Ubuntu 12.04

This tutorial explains how to use the GeoIP module with nginx on Ubuntu 12.04 to find out where your visitors come from. The GeoIP module sets multiple variables like $geoip_country_name, $geoip_country_code, $geoip_city, etc. that you can use in your PHP scripts or directly in your nginx configuration, for example to serve content in different languages based on the user's country.

first page
previous page
...
6
...
next page
last page
XML feed
"Facebook" is a registered trademark of Facebook, Inc. All rights reserved.