zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Nginx and php5-fpm combination

May 26, 2011 by Igor Drobot 1 Comment

Some months ago I wrote how to combine Apache2 and php5-fpm, now I want to show you how you could migrate to nginx.

The netcraft webserver survey from May 2011 shows that nginx is still increasing slightly and is currently providing access to 7.35% of all monitored domains:

Selv compiling a bit old-school, that’s why I use packages from Dotdeb: [Read more…]

Filed Under: Debian, IPv6, Linux, Networking Tagged With: apache vs nginx, Debian 6, Debian squeeze, Dotdeb, if is evil, Nginx, php-fpm, Webserver setup

Nginx + apache2 = real-ip

January 30, 2011 by Igor Drobot 4 Comments

Nginx and Apache2 are running great but there is only one tiny problem with the visitors ip’s.

Normaly I let my nginx instance do the logging job, but if you let your Apache do it you will get some problems. Apache will see all incoming requests as coming from localhost (127.0.0.1). Right they are all from nginx.
[Read more…]

Filed Under: Debian, HTTP, Linux, Networking Tagged With: apache2, Nginx, Proxy, real-ip, rpaf

Nginx plugins for Munin

January 24, 2011 by Igor Drobot 1 Comment

Monitoring is great! I try to monitor everything I can – each service and important cron-jobs.

Since I’m running on nginx I searched a lot around the web for munin plugins, maybe yo know this problem you found one but you get empty graph.
[Read more…]

Filed Under: Debian, Linux, Monitoring Tagged With: Monitoring, Munin, Nginx, WGET

Nginx and Apache2

January 18, 2011 by Igor Drobot Leave a Comment

I decided to put a nginX (pronounced as ‘Engine X’) as my primary webserver to reduce the server load and improve performance.

Nginx can only handle static content (CSS, simple HTML, and static files) l have to proxy incoming dynamic requests to another server, in my case Apache2 with PHP5 as suExec/ Fcgid.

[Read more…]

Filed Under: Debian, Linux Tagged With: apache2, load, Nginx, Performance, Proxy

  • « Previous Page
  • 1
  • 2
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok