mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 21:01:53 +01:00
14 lines
489 B
YAML
14 lines
489 B
YAML
# Recieves https certificate and setup proxy with domain replace
|
|
|
|
- name: "include role receive certbot certificate"
|
|
include_role:
|
|
name: nginx-https-recieve-certificate
|
|
|
|
- name: configure {{domain}}.conf
|
|
template:
|
|
src: "roles/nginx-docker-reverse-proxy/templates/domain.conf.j2"
|
|
dest: "{{nginx.directories.http.servers}}{{domain}}.conf"
|
|
notify: restart nginx
|
|
vars:
|
|
nginx_docker_reverse_proxy_extra_configuration: "sub_filter '{{source_domain}}' '{{domain}}';"
|