diff --git a/tasks/containers.yml b/tasks/containers.yml index ca437ad..700946a 100644 --- a/tasks/containers.yml +++ b/tasks/containers.yml @@ -20,8 +20,10 @@ volumes: - "/home/{{ user.name }}/nextcloud/data:/home/step" env: - VIRTUAL_HOST_MULTIPORTS: "{{ lookup('ansible.builtin.template','nextcloud_multiports.json.j2')}}" - VIRTUAL_PROTO: "https" + 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: