diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index a48875f..700b4e6 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -6,7 +6,7 @@ services: ports: - "9000:9000" volumes: - - /home/{{ user.name }}/webroot:/var/www/html + - /home/{{ user.name }}/webroot:/var/www/public environment: - VIRTUAL_HOST={{ inventory_hostname | default('ansible_undefined_host') }} - VIRTUAL_PROTO=fastcgi diff --git a/templates/nextcloud.vhost.conf.j2 b/templates/nextcloud.vhost.conf.j2 index 899c39d..3271a3d 100644 --- a/templates/nextcloud.vhost.conf.j2 +++ b/templates/nextcloud.vhost.conf.j2 @@ -1,2 +1 @@ -root /var/www/html; index index.php;