Compare commits

..

12 Commits

5 changed files with 10 additions and 4 deletions

View File

@ -15,7 +15,7 @@ and managing nextcloud installations
server instance. Can install, remove, enable/disable and update apps. server instance. Can install, remove, enable/disable and update apps.
- [`roles/ldap-user-backend`](roles/ldap-user-backend/README.md): - [`roles/ldap-user-backend`](roles/ldap-user-backend/README.md):
Manages LDAP authentication sources in installed nextcloud instances. Manages LDAP authentication sources in installed nextcloud instances.
- [`roles/nginx-fpm-proxy`](roles/nginx-fpm-proxy/README.me): - [`roles/nginx-fpm-proxy`](roles/nginx-fpm-proxy/README.md):
Reverse proxy role which connects to nextcloud using FPM Reverse proxy role which connects to nextcloud using FPM
and serves static content. and serves static content.

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: 22.2.0 nextcloud_version: 24.0.6
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