On Jan 16, 2020 9:27 AM, Michael Hekeler <mich...@hekeler.com> wrote:
>
> > 
> > Hello,
> > 
> > I use poudriere pkg builder on FreeBSD and I use nginx to get poudriere web
> > status interface.
> > 
> > I'm looking for a less complex httpd server and obhttpd seems to be right
> > choice. I have installed obhttpd <https://www.freshports.org/www/obhttpd/>
> > port
> > 
> > nginx httpd.conf is:
> > 

> > server {
> >       listen 80 default;
> >       server_name server_domain_or_IP;
> >       root /usr/local/share/poudriere/html;
> > 
> >       location /data {
> >           alias /usr/local/poudriere/data/logs/bulk;
> >           autoindex on;
> >       }
> > 
> >       location /packages {
> >           root /usr/local/poudriere/data;
> >           autoindex on;
> >       }
> >   }
> > }
> > 
> > obhttpd uses chroot, so I will have to point it to /usr/local/poudriere.
> > 
> > Any hints on getting this on openbsd httpd conf file?
> > 
> > Thanks,
> > 
> > Nuno
>
> Teach poudriere to store logs to /var/www/usr/local/poudriere/data/logs/bulk
>

Or the less safe easier way...

chroot "/"

Reply via email to