Been thinking about nginx for some time. If I could get an easy Mono/F# implementation working with it, I'd jump on it in a heartbeat.
https://github.com/NancyFx/Nancy/wiki/Hosting-Nancy-with-Ngi...
it worked perfectly for me on digitalocean
31–40 of 142 posts
Been thinking about nginx for some time. If I could get an easy Mono/F# implementation working with it, I'd jump on it in a heartbeat.
https://github.com/NancyFx/Nancy/wiki/Hosting-Nancy-with-Ngi...
it worked perfectly for me on digitalocean
Earlier quoted context omitted.
Yeah, I disliked that part to. The commands you need to know is: nginx -t (test your configuration) nginx -s reload (reload your configuration) Also I prefer "nginx -s restart".
Great feedback guys - we'll look this over and probably change it in the article : ) The reason it's as such is because of what @timroman said in his reply, but if this method is no different and scales better no reason not to use it instead.
Im surprised to see this on the frontpage, it is less than basics in anything any hacker worth its name can do.
What makes this "for developers"? Whats the difference if a sysadmin is reading this, or a Linux user? Im surprised to see this on the frontpage, it is less than basics in anything any hacker worth its name can do.
[1] https://github.com/h5bp/server-configs/tree/master/nginx
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.
For starter nginx's configuration, the h5bp nginx config [1] is pretty awesome, e.g. sending correct mime types, protecting hidden files, cross domain webfont, expires, gzip, server tunings all included. [1] https://github.com/h5bp/server-configs/tree/master/nginx
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 i…
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