Date: Tue, 18 Sep 2018 13:33:52 +0200 From: Johan Hendriks <joh.hendriks@gmail.com> To: Carmel NY <carmel_ny@outlook.com> Cc: freebsd-questions@freebsd.org Subject: Re: poudriere and web interface Message-ID: <821fd60e-2df4-27b2-8244-be4fd68bc705@gmail.com> In-Reply-To: <SN1PR20MB2109EDADDA6ED9A6678F4945801E0@SN1PR20MB2109.namprd20.prod.outlook.com> References: <SN1PR20MB2109EDADDA6ED9A6678F4945801E0@SN1PR20MB2109.namprd20.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Op 17-09-18 om 22:22 schreef Carmel NY:
> On a FreeBSD 11.2 system, I am trying to figure out how to configure
> poudriere to work with apache24. I found one "How To" on line that was
> useless. Does anyone have a working configuration that they can supply me
> with?
>
I use the following, the SetOutputFilter section is just for test.
This is our test site, so no SSL and so on.
I hope this helps you.
I have set this in /usr/local/etc/apache24/extra/httpd-vhosts.conf
Do not forget to uncomment the line Include
etc/apache24/extra/httpd-vhosts.conf in /usr/local/etc/apache24/httpd.conf
192.168.2.0 is our local network, we can see all.
For the outside we only publish the data dir to certain hosts like
123...../24 and 321....../24 so our poudriere is not used by the whole
world.
Good luck
<VirtualHost *:80>
ServerName poudriere.yourdomain.nl
DocumentRoot /usr/local/share/poudriere/html
Alias /packages /usr/local/poudriere/data
Alias /data /usr/local/poudriere/data/logs/bulk
ErrorLog "/var/log/vhostlogs/poudriere-error.log"
CustomLog "/var/log/vhostlogs/poudriere-access.log" common
SetOutputFilter DEFLATE
# example of how to compress ONLY html, plain text and xml
AddOutputFilterByType DEFLATE text/plain text/html text/xml
# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
<Directory "/usr/local/share/poudriere/html">
AllowOverride All
Require ip 192.168.2.0/16
Options Indexes FollowSymLinks
</Directory>
<Directory "/usr/local/poudriere/data">
AllowOverride All
Require ip 192.168.2.0/16
Require ip 123.123.123.0/24
Require ip 321.321.123.0/24
Options Indexes FollowSymLinks
</Directory>
<Directory "/usr/local/poudriere/data/logs/bulk">
AllowOverride All
Require ip 192.168.2.0/16
Options Indexes FollowSymLinks
</Directory>
LogLevel debug
</VirtualHost>
Regards
Johan Hendriks
& ޭy笶*'y䞧_5m5jhw~nj-~nh ޖ+ޭSy笶*'ff߭盱+z+ulu~nh y>]5s]zӧ5Vyv>-~,pDHω|5@wy笶*'ff߭盱+;Ğm5]x}>M4Q0Vr,-yW!E~&ښ趉j)\fjk'r|8m)Ll"" D硂1!6k'r,BiجZjT,kޮ'yӊo)y_"13҉w|@~߭盱ڮzb{盱+;Ğm5]x}>M4Q0Vr,-yW!
^N'M|^;ןMZx~nj-~nhkb&haj(ܶ)hfQzrN&haj(ܶ)hfRr^Ry' zjd*'1,jW-{i1ie,rڶHaxͺc0X F欒+K>Z7J1z[ppcNK>=}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?821fd60e-2df4-27b2-8244-be4fd68bc705>
