Live data from Hacker News

Nginx 1.6.0 stable released

nginx.org

91–100 of 114 posts

Re: Nginx 1.6.0 stable released

#91
post #13

Slightly OT: Does anyone know if packages for Ubuntu 14.04 are coming soon? We're using the official (mainline) repository[1] on Ubuntu 12.04, but Trusty doesn't seem to be supported yet. I've always preferred the official repository because I didn't want to start compiling nginx just for stuff like SPDY support. [1]: http://nginx.org/en/linux_packages.html

The packages have been uploaded as far as I can see.

Re: Nginx 1.6.0 stable released

#92
post #58
post #48

Earlier quoted context omitted.

I don't know, these things are always outdated so I always install from source.

In my experience the official packages are always up-to-date, as soon as I receive the release announcement, apt-get update will have the latest version ready.

The packages are usually uploaded within a couple of hours after the release announcement. It took it a big longer this time because there were two releases. :)

Re: Nginx 1.6.0 stable released

#93
post #13

Slightly OT: Does anyone know if packages for Ubuntu 14.04 are coming soon? We're using the official (mainline) repository[1] on Ubuntu 12.04, but Trusty doesn't seem to be supported yet. I've always preferred the official repository because I didn't want to start compiling nginx just for stuff like SPDY support. [1]: http://nginx.org/en/linux_packages.html

It's a good idea to be comfortable compiling/packaging your infra from source (including interpreters, libraries, etc), if only for the ability to quickly apply and deploy emergency patches. To demonstrate the importance of that capability, look no farther than Heartbleed. While distros are usually pretty good about updating critical software, they shouldn't be your only line of defense, except perhaps if you have a…

> It's a good idea to be comfortable compiling/packaging your infra from source

Would highly recommend becoming comfortable making your own packages (with any security updates, misc changes, etc.) over compiling and installing your own stack from source - distro packaging really is mostly your friend.

Re: Nginx 1.6.0 stable released

#94

Is anybody here using nginx as a REPLACEMENT for varnish ? I'm not an expert in devops, but will be deploying a webapp pretty soon - I was wondering if anyone is replacing varnish with nginx cache (memcached backed?) nginx seems to be increasingly irreplaceable (with ssl caching,etc.) - so was looking to not having to deal with varnish. I did some google searches, but was not able to find anything - including nginx c…

To get a more accurate response, I'd list a few use cases here. If you want better control over cache in general (expiration, purge, etc) or have strong gains (use-case specific) of using VCL or ESI its pretty hard to stay clear of using Varnish. Those are at least my caveats when choosing whether to include it or not in my stack.

Re: Nginx 1.6.0 stable released

#95

I wish there were better authentication options with Nginx. The ngx_http_auth_request_module is limited: First, it assumes that the authentication agent doesn't need to talk to the user. Second, it doesn't cache the authentication. Perhaps nginx might instead check all requests for a particular signed cookie, verify the signature, if the signature matches, verify that the cookie isn't too old, and then unpack variabl…

I've been using a pubcookie module (http://www.vitki.net/book/page/pubcookie-module-nginx) to do authentication across multiple subdomains (x.example.org, y.example.org, z.example.org). The idea being, you only have to authenticate to one of them in order to access any of them.

However, the module hasn't been updated in forever, and to build it in recent versions of nginx, I have to turn certain CFLAGS off (i.e. Werror).

Does ngx_http_auth_request_module seem like it could do pubcookie's job? Or perhaps, can I approach this problem using ngx_lua?

Re: Nginx 1.6.0 stable released

#96

Is anybody here using nginx as a REPLACEMENT for varnish ? I'm not an expert in devops, but will be deploying a webapp pretty soon - I was wondering if anyone is replacing varnish with nginx cache (memcached backed?) nginx seems to be increasingly irreplaceable (with ssl caching,etc.) - so was looking to not having to deal with varnish. I did some google searches, but was not able to find anything - including nginx c…

If configured correctly, varnish's cache is lightning fast, and incredibly flexible. Nginx + memcached can make things really fast, but I've seen cases where the time to first byte can be 20-40% faster with a well-tuned Varnish instance (we're talking milliseconds, of course). (Sometimes, I imagine this may be due to the fact that bleeding-edge performance people are more familiar with Varnish, though...).

Nginx has been getting better, and I'm excited to see what happens over the next couple of years.

Re: Nginx 1.6.0 stable released

#97
post #93

Earlier quoted context omitted.

It's a good idea to be comfortable compiling/packaging your infra from source (including interpreters, libraries, etc), if only for the ability to quickly apply and deploy emergency patches. To demonstrate the importance of that capability, look no farther than Heartbleed. While distros are usually pretty good about updating critical software, they shouldn't be your only line of defense, except perhaps if you have a…

> It's a good idea to be comfortable compiling/packaging your infra from source Would highly recommend becoming comfortable making your own packages (with any security updates, misc changes, etc.) over compiling and installing your own stack from source - distro packaging really is mostly your friend.

nginx still has a critical bug with SPDY and proxy_cache which causes connections to be aborted on cache hit. SPDY with proxypass+cache is fairly unusable without this patch.

http://trac.nginx.org/nginx/ticket/428

Re: Nginx 1.6.0 stable released

#98
post #36

Earlier quoted context omitted.

Nginx is also non-blocking which is the main difference from Apache. I don't agree Nginx is less flexible, from my own experience it's quite the other way around - try configuring Apache as a reverse proxy, you'll see how "flexible" it really is.

Having managed a fairly complex apache based web site (lots of rewriting to maintain various legacy url schemes, a few cgi bin apps -- lots of cruft) -- I do think Apache is more flexible than nginx. Traffic server is probably more flexible still. On the other hand, you could say if you take a routing problem, and you attempt to fix it via mod_rewrite -- you now have (at least) two problems! ;-) There was a fairly re…

Said link on apache vs nginx (among others):

http://www.atlanticdynamic.com/web-server-performance-analys...

Re: Nginx 1.6.0 stable released

#99
post #20

Most of the best features are in the paid version. I am leaning towards replacing Nginx with Haproxy for the reverse proxying part, unless they move at least the advanced load-balancing features to the free version.

HAProxy is awesome for load balancing IMO.

Re: Nginx 1.6.0 stable released

#100
post #50

Earlier quoted context omitted.

>Perhaps nginx might instead check all requests for a particular signed cookie... That's called session handling, which is something you want to implement in your web application, not your web server. http://en.wikipedia.org/wiki/HTTP#HTTP_session_state http://en.wikipedia.org/wiki/Stateless_protocol

Unless you want to use Nginx as an SSL-offloading proxy for a bunch of internal apps that you want to protect from the public but your apps themselves don't use the session in any way? Yes, we can use Lua and effectively write our own, but one of the reasons I've considered Apache again is that there's now a plugin for OAuth 2 + OpenID Connect ;-) https://github.com/pingidentity/mod_auth_openidc That said, even befor…

Put Nginx in front of Apache then? Or set up an authentication service and use it from your internal apps?
Post reply on HN