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:
31
nginx/tryton
Normal file
31
nginx/tryton
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user