Hi,

On Tue, 02 Nov 2021, Mathias Behrle wrote:
> A robust production grade setup will run the Tryton server not only behind a
> reverse proxy, but inside a wsgi server.
> 
> My prefered concept for the solution would be two additional packages:
> 
> tryton-server-uwsgi
> tryton-server-nginx
> 
> which would also need some changes to the tryton-server package itself to
> integrate well.

I don't have any strong preference. In distro-tracker, I provide vhosts
for apache and for nginx. I think it's useful to support both as you might
want to install on a server where something is already running.

However, the WSGI server is really open. For distro-tracker I opted to use
gunicorn with nginx and libapache2-mod-wsgi-py3 with apache.

> Documentation only has some problems:
> 
> - Often it is not read.
> - It is difficult to provide solutions matching different needs. At the end 
> you
>   get the question again: What to do with reverse proxy only, what to do with
>   wsgi backend, which backends to choose, etc.?
>   The mentioned packages would/should at least provide a basic working start
>   setup without too much manual steps.

Make some sane default choices and make it easy to follow your choices. If
users want something else, they can always override and change the setup.

Regards,
-- 
Raphaël Hertzog ◈ Freexian SARL ◈ Tel: +33 (0)6 88 21 35 47
https://www.freexian.com

Attachment: signature.asc
Description: PGP signature

Reply via email to