pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/anubis trip report: blocking AI bots, basically works, hints



Hi,

Greg Troxel <gdt%lexort.com@localhost> writes:

> Greg Troxel <gdt%lexort.com@localhost> writes:
>
>> My todo list for the package, which I'll fold in if nobody tells me I'm
>> confused:
>>
>>   - there's no rc.d script
>>   - there's no mechanism to run as non-root
>>   - upstream recommands /var/run/nginx/foo sockets instead of IP for
>>     communication from nginx to anubis and anubis to nginx.  We don't
>>     have a subdir and anubis should run as anubis so this is not
>>     trivial.
>
> As if by magic, improvements that addressed these three appeared 11
> minutes after my post!

I missed your email.
I am improving www/anubis coincidently.

I use www/anubis for cvsweb.NetBSD.org.

> I wonder though how the contents of default.env, or equivalenet config,
> is supposed to be configured.

In my local pkgsrc tree, files/anubis.sh reads default.env.
I will commit my change tonight.

I have not tested unix domain socket support.
You may test unix domain socket settings easily after default.env gets
respected.

Thank you.

>>   - the env file should be used, or not be in etc
>>   - config should be handled somehow
>>   - defaults include listening on * instead of 127.0.0.1 and ::1 only
>>     and that should probably be fixed
>>   - there is some concept of alternative sidecar config and maybe we
>>     should accomodate it

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index