`<div dir="ltr"><div><div><div>My take to summarize the two choices:<br><br></div>1) use a NGZ in its on pool and you have complete isolation and you can move it from machine to machine as needed. More setup required, but doable.<br></div>2) use a pre-packaged apache or nginx that installs all of the read-only stuff in your regular root pool (this should be fine). You have to keep a small set of files in thie configuration under revision control, and they are the configuration files that describe your instances. You then define your DocumentRoot with all of the important stuff to be in your non-root zpool.<br><br></div>(You can use the pre-packaged apache in either configuration, but you may achieve slightly better isolation with the NGZ if that is valuable. But, putting apache config files under revision control has been done for years and is pretty standard way to accomplish the same thing)<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 8, 2015 at 10:35 AM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's no problem using an NGZ to host a webserver. Just make sure that zone has all of the relevant packages.<br>
<br>
Using an NGZ means that zone only has control over ZFS datasets that the global zone lets it control. The zonecfg(1M) command man page has details on this.<br>
<br>
I use apache in a zone on my Home Server:<br>
<br>
<a href="http://kebesays.blogspot.com/2014/06/home-data-center-20-dogfooding-again.html" target="_blank">http://kebesays.blogspot.com/2014/06/home-data-center-20-dogfooding-again.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</div></div></blockquote></div><br></div>
`