Live data from Hacker News

Nginx 1.0.0 is out

nginx.org

41–50 of 77 posts

Re: Nginx 1.0.0 is out

#42
post #13

Earlier quoted context omitted.

Congratulations to the team indeed. I'm setting up my next project in this configuration as well and I've found nginx to be a very sweet server. I'll be serving a lot of javascript and css, but using php to handle the utility chores of accessing mysql and couchdb. Even though I'm keeping the apache back-end for this, I confess it's more out of comfort and laziness (and the rush to get it out) than because of some pro…

It really is trivial to set up an fcgi process to run PHP directly from nginx. On the nginx side, something like my config: location ~ \.php { fastcgi_index index.php; include fastcgi_params; fastcgi_pass localhost:55155; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } Then you just need to run php in fcgi daemon mode which is built in, use php-cgi -b localhost:55155 to match that setup... more de…

Just use PHP-FPM instead, it's easier and scales better. I run PHP, Django/Python and Perl without a problem at a single domain. NGINX allows to run almost anything as long as you are able to attach the socket of what you want to output towards NGINX.

Re: Nginx 1.0.0 is out

#44
post #15

A bit off topic, please consider the following example in [1]: if ($args ~ post=140){ rewrite ^ http://example.com/ permanent; } Why is "^" used as a regex wildcard instead of ".*"? Thanks! [1] http://wiki.nginx.org/HttpRewriteModule

In Soviet Russia, regex starts you.

Re: Nginx 1.0.0 is out

#45
post #19
post #13

Earlier quoted context omitted.

Congratulations to the team indeed. I'm setting up my next project in this configuration as well and I've found nginx to be a very sweet server. I'll be serving a lot of javascript and css, but using php to handle the utility chores of accessing mysql and couchdb. Even though I'm keeping the apache back-end for this, I confess it's more out of comfort and laziness (and the rush to get it out) than because of some pro…

for me the reason to stay with an apache/mod_php backend was very bad experience I had with fastcgi back in the 2006/2007 area where I was using a lighttpd/fastcgi configuration. I've seen crashes in lighty, crashes in fastcgi and subtle differences in behavior between fastcgi and mod_php. FastCGI just wasn't a commonly used method of deployment back then, so there were for sure some bugs around that I didn't have ti…

There was a bit of chatter recently about ill-configured nginx-fastcgi servers having a php vulnerability. Seems to be summed up here:

https://nealpoole.com/blog/2011/04/setting-up-php-fastcgi-an...

Thanks for the keep-alive tip. I missed that one.

EDIT: I see that the author of the post I linked replied below- also with the link.

Re: Nginx 1.0.0 is out

#46
post #15

A bit off topic, please consider the following example in [1]: if ($args ~ post=140){ rewrite ^ http://example.com/ permanent; } Why is "^" used as a regex wildcard instead of ".*"? Thanks! [1] http://wiki.nginx.org/HttpRewriteModule

In Soviet Russia, regex starts you.

Re: Nginx 1.0.0 is out

#49
post #7

Fun bit: on the http://sysoev.ru/ the news starts with "Поехали!" (Let's go! / Let's ride!)—Yuri Gagarin quote from the launch of the first manned space flight fifty years ago.

Heh - off-topic, but that reminds me of a story involving the same idiom. A friend told me that in the 80s she spent some time as an exchange student in Moscow and they would go see movies on Friday nights. Occasionally there would be an American movie dubbed into Russian (all the parts played by the same Russian male voice who would read everything in a deep monotone) and one time it somehow turned out to be a trashy zombie movie. They get to the obligatory "teenagers in the cemetery in the middle of the night" scene and when the zombies appear, one of the teenagers yells "Holy shit man, let's get the fuck out of here!" This gets translated by the monotone Russian baritone as: "Пошли" (let's go).

Re: Nginx 1.0.0 is out

#50

Earlier quoted context omitted.

until very recently, the SVN repo was not made available to the public. AFAIK, there is still no bug tracker. Dont get me wrong, I have several production sites on nginx - but the development methodology makes me very nervous. Cherokee has some of the same objectives as nginx (fast and lightweight) and has a very open development process. Plus, the Cherokee Market is very cool ( http://cherokee-market.com/ ) !

It (nginx) is bsd licensed. If you don't like the development model, you can always fork it on github, or start a company that develops and supports a closed-source fork.

Not to mention that Cherokee's configuration file format is very human-unfriendly, and its configuration utility is a GUI that requires a web browser (and port forwarding if you want to configure a server remotely, which would typically be the case outside of dev environments).
Post reply on HN