Skip to content
Snippets Groups Projects
Commit fa04c4ef authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Add optional Caddy configuration task using webservices/caddy role

parent 3ff5cc5c
Branches
No related tags found
1 merge request!3NGINX → Caddy integration
Pipeline #6461 passed
...@@ -3,3 +3,4 @@ ...@@ -3,3 +3,4 @@
rt_workers: 4 rt_workers: 4
rt_ldap_password: "{{ lookup('passwordstore', rt_ldappass) }}" rt_ldap_password: "{{ lookup('passwordstore', rt_ldappass) }}"
rt_disallowexecutecode: true rt_disallowexecutecode: true
rt_configure_caddy: false
...@@ -136,3 +136,16 @@ ...@@ -136,3 +136,16 @@
tags: tags:
- rt - rt
- name: Configure Caddy
include_role:
name: webservices/caddy
tasks_from: site
vars:
site_name: "{{ rt_webdomain }}"
site_config:
root *: /usr/share/request-tracker4/html
reverse_proxy * unix//var/run/rt4-fcgi.sock:
transport fastcgi:
env SCRIPT_NAME: '""'
when: rt_configure_caddy
tags: rt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment