Hi, I'm trying to do the following: I would like to stop logging from Pingdom bots, as a checking every 5 second pollutes the access log and it doesn't have any meaningful value. My problem is that I cannot integrate it into any kind of location block. I encountered the following errors: 1. map cannot be used here 2. if cannot be used here 3. if needs to return something, while I don't wby zsero - Nginx Mailing List - English
I know it's an old thread but my question really belongs to here. 1. Can you confirm that with recent PHP implementations (5.3.9+) this fix isn't needed anymore? 2. Does it mean that some PHP implementations like the up-to-date ones in DotDeb repository doesn't need it (PHP 5.4.8 and PHP 5.3.18), but Debian stable still needs it (5.3.3-7+squeeze14)? http://packages.debian.org/stable/php/ hby zsero - Nginx Mailing List - English
OK, I think my case is much simpler. Having location = /something.php { auth_basic "Restricted"; auth_basic_user_file ...; } before location ~ \.php$ { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass unix:/home/kek/http/private/php.socket; include fastcgi_params; try_files $uri =404; } Stops at the first step. Is therby zsero - Nginx Mailing List - English
Hi I'm a nginx newbie, but I think I'm experiencing something seriously strange. I'm not sure I can reproduce the steps needed, but the thing is that I ended up nginx downloading protected php files from the site! Step 1. make a normal site with say one php file Step 2. make a auth_basic protected folder on it Step 3. authenticate yourself in Google Chrome (maybe it works in others too) Stepby zsero - Nginx Mailing List - English
Thank you for your reply. I've set ondemand and pm.start_servers = 0. Now it works perfectly, but there is a slight delay while the first process starts. I mean it could be an issue for rarely accessed sites, where the visitors always have to wait for the php process to start. Do I feel it right? Is ondemand really slower compared to dynamic for the first visitor?by zsero - Nginx Mailing List - English
I'm trying to configure my first VPS using nginx and php-fpm. I've set it up and everything is working well, but I've realized that for every user created there is a separate php-fpm pool what takes about 30 MB of memory even when idling. It wouldn't be a big problem on a huge machine, but I'm trying to do this in a 128 MB lowendbox, so it's not really nice. I've asked in a thread on lowendbox,by zsero - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |