Configure nginx to share the /usr/local/poudriere/data directory. Or where else you set ${BASEFS} to in poudriere.conf. You then need a configuration like this:nanotek said:I've got Poudriere running on the host, and a webserver (NGINX) running inside a jail on the host.
How do I get the jailed webserver to serve the Poudriere packages from zpool/poudriere/data/packages for remote clients to use? Thanks.
location / {
root /storage/poudriere/data;
index index.html index.htm;
fancyindex on;
fancyindex_ignore build cache queue up.txt;
}
Using nullfs(5). Add to /etc/fstab.JAILNAME:nanotek said:But how do I make the poudriere/data directory accessible to the jail?
/usr/local/poudriere/data /jails/j-internetz/data nullfs ro 0 0
mount.fstab = /etc/fstab.$name;