Compare commits

...

7 Commits

4 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
namespace: finallycoffee namespace: finallycoffee
name: nextcloud name: nextcloud
version: 0.4.0 version: 0.5.0
readme: README.md readme: README.md
authors: authors:
- Johanna Dorothea Reichmann <transcaffeine@finallycoffee.eu> - Johanna Dorothea Reichmann <transcaffeine@finallycoffee.eu>

View File

@ -1,6 +1,12 @@
upstream php-handler { upstream php-handler {
{% if fpm_socket %} {% if fpm_socket %}
{% if fpm_socket is not string %}
{% for upstream in fpm_socket %}
server unix:{{ upstream }};
{% endfor %}
{% else %}
server unix:{{ fpm_socket }}; server unix:{{ fpm_socket }};
{% endif %}
{% else %} {% else %}
server {{ fpm_server }}:{{ fpm_server_port }}; server {{ fpm_server }}:{{ fpm_server_port }};
{% endif %} {% endif %}

View File

@ -1,6 +1,6 @@
--- ---
nextcloud_version: 23.0.0 nextcloud_version: 24.0.2
nextcloud_user: nextcloud nextcloud_user: nextcloud
nextcloud_basepath: /opt/nextcloud nextcloud_basepath: /opt/nextcloud
nextcloud_config_path: "{{ nextcloud_basepath }}/config" nextcloud_config_path: "{{ nextcloud_basepath }}/config"

View File

@ -4,7 +4,7 @@ user = www-data
group = www-data group = www-data
{% if nextcloud_socket_path is defined and nextcloud_socket_path is string %} {% if nextcloud_socket_path is defined and nextcloud_socket_path is string %}
listen = {{ nextcloud_container_php_socket_path }}/nextcloud.sock listen = {{ nextcloud_container_php_socket_path }}/{{ nextcloud_container_name }}.sock
listen.owner = www-data listen.owner = www-data
listen.group = www-data listen.group = www-data
listen.mode = 0666 listen.mode = 0666