Add some session defaults.

This commit is contained in:
Andrea Dell'Amico 2021-07-28 18:42:57 +02:00
parent f813fbd193
commit b54dca7f42
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,9 @@ gitea_app_configurations:
- { section: 'log.sublogger.access', option: 'FILE_NAME', value: '{{ gitea_log_dir }}/access.log', state: 'present' }
- { section: 'log.sublogger.xorm', option: 'FILE_NAME', value: '{{ gitea_log_dir }}/xorm.log', state: 'present' }
- { section: 'database', option: 'LOG_SQL', value: 'false', state: 'present' }
- { section: 'security', option: 'CSRF_COOKIE_HTTP_ONLY', value: 'true', state: 'present'}
- { section: 'session', option: 'SAME_SITE', value: 'lax', state: 'present'}
- { section: 'session', option: 'COOKIE_SECURE', value: 'false', state: 'present'}
# - { section: 'mailer', option: 'ENABLED', value: 'true', state: 'present' }
# - { section: 'mailer', option: 'FROM', value: '{{ gitea_mail_from }}', state: 'present' }
# - { section: 'mailer', option: 'MAILER_TYPE', value: '{{ gitea_mailer_type }}', state: 'present' }