Created attachment 250249 [details] OpenBSD httpd(8) example configuration
Hello, It seems that this config should be adapted for poudriere. nginx.conf have: --- 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.conf uses chroot that I don't know how to set it. --- Apr 27 09:17:56 rpi4 obhttpd[93023]: server: proc_run: chroot: No such file or directory Apr 27 09:17:56 rpi4 obhttpd[93024]: server: proc_run: chroot: No such file or directory Apr 27 09:17:56 rpi4 obhttpd[93027]: startup Apr 27 09:17:56 rpi4 obhttpd[93027]: parent: proc_open: imsg_flush: Broken pipe Apr 27 09:17:56 rpi4 obhttpd[93026]: logger: proc_run: chroot: No such file or directory Apr 27 09:17:56 rpi4 obhttpd[93025]: server: proc_run: chroot: No such file or directory ---
I have it working in jail, may test without it now.
(In reply to Nuno Teixeira from comment #2) Hello. I have a few thoughts about the httpd configuration files installed in /usr/local/share/examples/poudriere directory. + Provide a configuration that is equivalent to nginx for apache as well. + Configuration file for lighttpd should also be provided. + Include settings to distribute packages created by poudriere. Especially if httpd can distribute packages, poudriere can be used better. It allows poudriere to prefetch their own packages. It eliminates the need to worry about the time difference from the port tree used by the official poudriere. I have apache and lighttpd setup. But this isn't the place to do that, is it? :)