implemented multiple domain string substitution for mybb

This commit is contained in:
2023-12-07 18:54:47 +01:00
parent 3721e9e0ad
commit f3aa6eba51
9 changed files with 25 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
---
- name: "include tasks nginx-docker-proxy-domain.yml"
include_tasks: nginx-docker-proxy-domain.yml
loop: "{{ domains }}"
- name: "include tasks mybb-proxy-domain.yml"
include_tasks: mybb-proxy-domain.yml
loop: "{{ domains + [mybb_main_domain] }}"
loop_control:
loop_var: domain

View File

@@ -0,0 +1,7 @@
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
- name: "include task create-domain-conf.yml"
include_tasks: create-domain-conf.yml
vars:
nginx_docker_reverse_proxy_extra_configuration: "sub_filter '{{mybb_main_domain}}' '{{domain}}';"