diff --git a/tasks/containers.yml b/tasks/containers.yml index 2e4c3d6..7479257 100644 --- a/tasks/containers.yml +++ b/tasks/containers.yml @@ -20,8 +20,10 @@ volumes: - "/home/{{ user.name }}/nextcloud/data:/home/step" env: - VIRTUAL_PROTO: "fastcgi" - VIRTUAL_ROOT: "/var/www/html/" + VIRTUAL_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}" + LETSENCRYPT_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}" + VIRTUAL_PROTO: "fastcgi" + VIRTUAL_ROOT: "/var/www/html/" - name: NGINX Proxy Container State created containers.podman.podman_container: