@supercleanse, as you're testing a new VM, here's something else to test out if you're so inclined: https://bitbucket.org/intel352/nginx-vhost/src It's a script for nginx that lets you fairly easily get a new vhost ready. I created & use it for my own servers. There's other stuff out there that does this, but I haven't seen anything in native bash, usually perl or ruby/rails. Cheersby jlangevin - Nginx Mailing List - English
@supercleanse, Current Ubuntu 10.10 has native packages for PHP 5.3, php-fpm (as php5-fpm), nginx, etc. After these errors occurred for me, I upgraded my server to 10.10, and installed all native packages. No further issues for me.by jlangevin - Nginx Mailing List - English
Thanks Maxim, that's very helpful! :-)by jlangevin - Nginx Mailing List - English
In that case, if you had a server that you wanted to allow up to 32mb uploads managed via PHP scripts, how would you do so in a secure fashion (considering DOS)? Would you do a check for a certain request type (such as POST) as well as the requested URL? Or would it not be worthwhile to be that exact?by jlangevin - Nginx Mailing List - English
Thanks, that's what I was hoping :-)by jlangevin - Nginx Mailing List - English
After migrating one of our servers to Nginx from Apache, I decided to test file uploads (as I've implemented the Accelerated Upload Support feature in PHP-FPM/nginx). I found that client_max_body_size is an additional directive that affects POST/upload file sizes. So this means that in addition to the 2 directives in PHP that must be configured for upload file size, I must also now configure Ngby jlangevin - Nginx Mailing List - English
When viewing the documentation for client_body_in_file_only, it shows the only possible values as on/off. My confusion occurs when viewing the PHP-FPM suggested usage of client_body_in_file_only, as it shows the directive with a value of clean. This makes me wonder if there is possibly an undocumented feature of Nginx client_body_in_file_only, to clean/remove the resulting file at some pointby jlangevin - Nginx Mailing List - English
Discussion of this issue has moved here: http://groups.google.com/group/highload-php-en/browse_thread/thread/d5ee42be6f8f775aby jlangevin - Nginx Mailing List - English
Done, awaiting moderation.by jlangevin - Nginx Mailing List - English
Found this in my logs: Sep 14 15:24:55.942487 child 29911 started Sep 14 15:53:45.640790 child 29908 exited on signal 11 SIGSEGV after 1730.763352 seconds from start Sep 14 15:53:45.644145 child 29980 started Sep 14 16:15:51.861570 child 29907 exited on signal 11 SIGSEGV after 3057.712053 seconds from start Sep 14 16:15:51.865127 child 30041 startedby jlangevin - Nginx Mailing List - English
I've noticed a curious issue recently on my server. I am running Ubuntu 10.04, Nginx, and PHP-FPM using Brian Mercer method. I recently updated the server, and then also updated my PHP-FPM config to allow dynamic child processes instead of just static. I've noticed now that *one* of my domains (all my domains within the same server and same worker group) will periodically hit a 502 Bad Gateby jlangevin - Nginx Mailing List - English
So apparently Engine Yard has a patch for Nginx, called nginx-ey-balancer, to add a max_connections directive for connections being passed upstream. The patch is to fix issues such as Mongrel backend servers being dropped by Nginx (at least, that's my understanding). I searched the forums, though, didn't see any mention of it. Is Igor aware of this patch, and is this needed in Nginx for anyby jlangevin - Nginx Mailing List - English
While reading articles over the weekend about Nginx, I found a few of the typical Nginx vs Apache benchmarks. In every benchmark, someone always showed up to defend Apache's appalling performance, and claim that Apache has a ton of modules enabled by default in it's configuration file, which should be removed for a production system regardless. That's a fine argument, and seems very likely truby jlangevin - Nginx Mailing List - English
Thanks for your reply Igor! So I should remove SSL from the backend box, and add to the reverse proxy? That's what I was thinking, but I wasn't sure if I still needed it on the backend as well :-) Thanks for your response, you've been a great help!by jlangevin - Nginx Mailing List - English
I've successfully configured Nginx on an Ubuntu 10.04 box, serving up a dynamic PHP website. We need to be able to reverse proxy this website, which I've also been able to do, as: www frontend (nginx reverse proxy) www1 backend (nginx php webserver) The intention is to be able to add/remove backend servers at will. The only issue I have so far, is that the frontend, as configured, doeby jlangevin - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |