I give up, too much hassle to get it to work.by Chris - How to...
Back again, with more success and knowledge! Ok, right now I am running: nginx as frontend webserver and apache as backend. My goal is to let nginx serve and cache all the images for a special amount of time, all image files should be cached for 30d and flash(swf) files for 1h. Please do bare with me, I've been struggling all night to get this to work correctly but I'm not even sure if it'sby Chris - How to...
Good news, I have installed nginx+php-fpm succesfully and everything is working as expected, splendid! I do wonder though (this is the main reason I picked nginx) how do I cache my /img/, /gfx/, /user_images/ folders? Could someone explain to me how this would be done? Currently I use; location ~* ^.+\.(jpg|jpeg|gif|png)$ { root /var/www/; access_log off;by Chris - How to...
Currently my .htaccess file is pretty much basic, I'm not worried about it. Could you please show me an example of how I would go on with caching the img/gfx/user_images folders within the nginx.config file? Also, would you prefere php-fpm before spawn-fcgi?by Chris - How to...
Greetings nginx users! I imagine that this setup is pretty basic but I would like to hear from someone how to do this correctly since I will be wiping our webserver and start off from scratch since I have decided to start using nginx instead of apache. Basically, I have a website that has around 40.000 visitors a month, I know, this isn't much at all. But most of the website is static contentby Chris - How to...