June 18, 2013

Comment: Lighttpd as reverse proxy

… a dedicated domain for static content, which is served by lighttpd. Apache then hosts the dynamic. sent from: fav.or.it…

Comment: Lighttpd as reverse proxy

Isn’t Lighttpd better suited as a replacement for Apache rather than a front end to it ? To serve static content I recommend using thttpd, it is very fast, very stable and very light on resources.

Comment: Lighttpd as reverse proxy

use nginx for this. it is better then lighttpd now 2 million hosts use this server (month ago — 1 million…) http://nginx.net/ enjoy ( http://wiki.codemongers.com/Main )

Comment: Lighttpd as reverse proxy

Isn’t it better to use a cache/accelerator dedicated product like squid as a front-end instead of lighttpd?

Comment: Lighttpd as reverse proxy

… all ;-) we completely rely on amazon S3 for that and lighttpd just handle the dynamic pages to solve the ETAG, expiration…

Comment: Lighttpd as reverse proxy

… same thing with it : send all static content requests to lighttpd and all dynamic content to apache. If you have a…

Comment: Lighttpd as reverse proxy

This is interesting – we actually do the opposite :) – apache as reverse proxy + mod_security + static file handling in front of the lighttpd/fcgi.

Comment: Pitfall of proxying HTTP requests through Lighttpd

… correct setup is to avoid any larger objects sent through Lighttpd proxy, but to serve them with Lighty directly. But this…

Comment: Pitfall of proxying HTTP requests through Lighttpd

@Dieseelstation: Such a setup would be nonsense, because you would have to start a ‘big’ apache process just to proxy your static content which is served by lighttpd. Just run both on different ports and do no proxying.

Comment: Pitfall of proxying HTTP requests through Lighttpd

I had the problem with Nginx too, when i downloaded a big file (750M), and using Nginx as a reversed proxy before lighttpd.