fixed nginx for websocket

This commit is contained in:
Yhael S
2023-09-30 04:24:38 -05:00
parent ae92bbb36a
commit a2219d371b
3 changed files with 33 additions and 22 deletions

View File

@@ -374,31 +374,35 @@ limit_time_real_cron = {LIMIT_TIME_REAL_CRON}
; --limit-request
limit_request = {LIMIT_REQUEST}
;-----------------------------;
; External Integrations ;
;-----------------------------;
;-------------;
; Redis ;
;-------------;
; Possible values: 1 or true
; -- Possible values: 1 or true
ODOO_SESSION_REDIS = {ODOO_SESSION_REDIS}
; Defaults to is localhost
; -- Defaults to is localhost
ODOO_SESSION_REDIS_HOST = {ODOO_SESSION_REDIS_HOST}
; Defaults to 6379
; -- Defaults to 6379
ODOO_SESSION_REDIS_PORT = {ODOO_SESSION_REDIS_PORT}
; Sets the password for the AUTH command (optional)
; -- Sets the password for the AUTH command (optional)
ODOO_SESSION_REDIS_PASSWORD = {ODOO_SESSION_REDIS_PASSWORD}
; Alternative way to define the Redis server address like rediss:// protocol.
; -- Alternative way to define the Redis server address like rediss:// protocol.
ODOO_SESSION_REDIS_URL = {ODOO_SESSION_REDIS_URL}
; Prefix for the session keys (optional)
; -- Prefix for the session keys (optional)
ODOO_SESSION_REDIS_PREFIX = {ODOO_SESSION_REDIS_PREFIX}
; Time in seconds before expiration of the sessions (default is 7 days)
; -- Time in seconds before expiration of the sessions (default is 7 days)
ODOO_SESSION_REDIS_EXPIRATION = {ODOO_SESSION_REDIS_EXPIRATION}
; Time in seconds before expiration of the anonymous sessions (default is 3 hours)
; -- Time in seconds before expiration of the anonymous sessions (default is 3 hours)
ODOO_SESSION_REDIS_EXPIRATION_ANONYMOUS = {ODOO_SESSION_REDIS_EXPIRATION_ANONYMOUS}
EOF