On Fri, Jul 19, 2013 at 10:55:57AM -0400, David | StyleFlare wrote:
Hi there,
> I know this may not be safe, but how can I set the hostname in the root
> directive
> ie; root /www/$hostname/static;
By using a variable, just like you've done there.
Two things you need to decide:
what exact va
I know this may not be safe, but how can I set the hostname in the root
directive
location /static {
ie; root /www/$hostname/static;
}
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx