Add Trytond configuration and scripts for deployment

This commit introduces essential files and scripts for setting up a Trytond environment, including configuration, logging, systemd services, NGINX, and utility scripts for managing Trytond.
This commit is contained in:
2025-12-24 17:05:10 +01:00
parent 1066097465
commit efd53e6c49
13 changed files with 175 additions and 0 deletions

31
nginx/tryton Normal file
View File

@@ -0,0 +1,31 @@
server {
listen 8000;
server_name _;
root /home/tryton/atl60prod/sao/;
index index.html;
charset utf-8;
client_max_body_size 2G;
# ssl on;
# ssl_certificate /home/tryton/also56/ssl/fullchain.pem
# ssl_certificate_key /home/tryton/also56/ssl/privkey.pem
location / {
proxy_set_header Origin '';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
keepalive_timeout 900s;
proxy_read_timeout 1800s;
proxy_send_timeout 1200s;
send_timeout 1200s;
proxy_ignore_client_abort on;
proxy_pass http://127.0.0.1:5160;
}
}