Live data from Hacker News

Nginx for Developers: An Introduction

carrot.is

1–10 of 142 posts

Re: Nginx for Developers: An Introduction

#3

Good article. Be wary of the well documented zero-day exploits if you're using php. This is one of my other favorite articles: http://docs.ngx.cc/en/latest/topics/tutorials/config_pitfall... Some good introductory stuff here as well: http://pineapple.io/resources/tagged/nginx

wary

Re: Nginx for Developers: An Introduction

#4

Good article. Be wary of the well documented zero-day exploits if you're using php. This is one of my other favorite articles: http://docs.ngx.cc/en/latest/topics/tutorials/config_pitfall... Some good introductory stuff here as well: http://pineapple.io/resources/tagged/nginx

wary

Yikes, I'm supposed to be the grammar and spelling nazi :P

Re: Nginx for Developers: An Introduction

#5
Completely off-topic: Is that a custom WP theme? I love the look and feel of this article.

On-topic: Thank you for this. I am going to purchase a DO box this weekend and play around with nginx instead of apache. For some reason when I last tried to use nginx, I could not get location {} to work. Granted it was some time ago.

Does anyone have any resources on nginx as a load balancer?

Re: Nginx for Developers: An Introduction

#6

Completely off-topic: Is that a custom WP theme? I love the look and feel of this article. On-topic: Thank you for this. I am going to purchase a DO box this weekend and play around with nginx instead of apache. For some reason when I last tried to use nginx, I could not get location {} to work. Granted it was some time ago. Does anyone have any resources on nginx as a load balancer?

Actually it's a very simple custom non-wordpress theme I put together in about an hour, the entire thing built on top of http://roots.cx dynamic content : )

Another note, the share button at the bottom (just pushed a minute ago so hard refresh if it's cached) is from this plugin we put together and have been enjoying so far: https://github.com/carrot/share-button

Glad you enjoyed the article! Let us know if you run into any trouble, happy to help or add debugging techniques etc

Re: Nginx for Developers: An Introduction

#7

Completely off-topic: Is that a custom WP theme? I love the look and feel of this article. On-topic: Thank you for this. I am going to purchase a DO box this weekend and play around with nginx instead of apache. For some reason when I last tried to use nginx, I could not get location {} to work. Granted it was some time ago. Does anyone have any resources on nginx as a load balancer?

Basic introduction: http://blog.jsdelivr.com/2013/01/nginx-load-balancing-basics...

Re: Nginx for Developers: An Introduction

#8

Completely off-topic: Is that a custom WP theme? I love the look and feel of this article. On-topic: Thank you for this. I am going to purchase a DO box this weekend and play around with nginx instead of apache. For some reason when I last tried to use nginx, I could not get location {} to work. Granted it was some time ago. Does anyone have any resources on nginx as a load balancer?

Avoid using Digital Ocean(DO).

We had very very bad experience with them, file-system corruption, hardware failures.

And we are still unable to recover all our data. And so far, no hope!

They don't answer any of the questions properly, my team is very upset. We felt, they don't have much technical expertise in managing servers.

DO might be okay for testing and learning, but never use them for any production setups.

Update: we are still struggling to get our data back. No hopes so far.

We shall write a detailed blog post on the whole experience with Digital Ocean.

Re: Nginx for Developers: An Introduction

#9
post #8

Completely off-topic: Is that a custom WP theme? I love the look and feel of this article. On-topic: Thank you for this. I am going to purchase a DO box this weekend and play around with nginx instead of apache. For some reason when I last tried to use nginx, I could not get location {} to work. Granted it was some time ago. Does anyone have any resources on nginx as a load balancer?

Avoid using Digital Ocean(DO). We had very very bad experience with them, file-system corruption, hardware failures. And we are still unable to recover all our data. And so far, no hope! They don't answer any of the questions properly, my team is very upset. We felt, they don't have much technical expertise in managing servers. DO might be okay for testing and learning, but never use them for any production setups. U…

On the contrary, if you just need a box to tinker with sysops stuff and learn, digital ocean is a fantastic solution. Cheap and I've never had a bad experience or anything unreliable.

I can't speak to using it to store lots of not-backed-up files or running a gigantic production server, but for learning about syops it works great, to get back to the purpose of this article.

Re: Nginx for Developers: An Introduction

#10
I think the sites-available is a debianism, not present on all distros. One nice thing that nginx supports is include directives with wildcards so you can e.g. have /srv/example.com/nginx.conf and /srv/api.example.com/nginx.conf and include them in the main configuration file with include /srv/*/nginx.conf.
Post reply on HN