Earlier quoted context omitted.
I can't imagine there are many connections to worry about if you're configuring a new server.
Right but if you are modifying and existing server, then this needs to be taken into account. We have several servers who are constantly serving connections and we can't have any of them drop otherwise it will result in a poor user experience. I just wish the article talked about using reload as well as restart and when to use them.
Nginx for Developers: An Introduction
41–50 of 142 posts
Re: Nginx for Developers: An Introduction
#42Re: Nginx for Developers: An Introduction
#43I 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.
Re: Nginx for Developers: An Introduction
#44What 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.
You're just as surprised as we are to see it on the frontpage!
Re: Nginx for Developers: An Introduction
#45Earlier quoted context omitted.
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…
I can't read the article on my Android phone because I can't resize it to fit on screen. So please remove the theme or fix it...
EDIT: Updated, should work great on mobile devices now
Re: Nginx for Developers: An Introduction
#46I 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.
Re: Nginx for Developers: An Introduction
#47I'm using it at http://www.utterson.me to serve up static Jekyll blogs on a subdomain.
I may be wrong, but I don't think Apache can do this (it can do regex but you don't get a variable).
[1] http://nginx.org/en/docs/http/server_names.html#regex_names
Re: Nginx for Developers: An Introduction
#48Re: Nginx for Developers: An Introduction
#49 active.site.com.ON
another.active.com.ON
not.active.comRe: Nginx for Developers: An Introduction
#50I 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.
I may be misunderstanding you, but sites-available and the conf files are usually two separate entities. sites-available | sites-enabled is analogous to using a2ensite in Apache without the automagic (you symlink yourself)