Fix the nginx socket configuration.
This commit is contained in:
parent
b61d5e609e
commit
04434716eb
|
@ -33,4 +33,5 @@ nextcloud_ldap_auth: False
|
|||
|
||||
nextcloud_phpfpm_default_memory_limit: "512M"
|
||||
php_global_settings: '{{ nextcloud_php_global_settings }}'
|
||||
phpfpm_pools: '{{ nextcloud_phpfpm_pools }}'
|
||||
phpfpm_pools: '{{ nextcloud_phpfpm_pools }}'
|
||||
nextcloud_phpfpm_listen_on_socket: True
|
|
@ -1,6 +1,9 @@
|
|||
upstream php-handler {
|
||||
server {{ item.listen }};
|
||||
#server unix:/var/run/php5-fpm.sock;
|
||||
{% if nextcloud_phpfpm_listen_on_socket %}
|
||||
server unix:{{ item.listen }};
|
||||
{% else %}
|
||||
server {{ item.listen }};
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
server {
|
||||
|
|
|
@ -28,6 +28,7 @@ nextcloud_php_required_packages:
|
|||
- 'php-apcu'
|
||||
|
||||
phpfpm_default_memory_limit: '{{ nextcloud_phpfpm_default_memory_limit }}'
|
||||
phpfpm_listen_on_socket: '{{ nextcloud_phpfpm_listen_on_socket }}'
|
||||
nextcloud_php_global_settings:
|
||||
- { option: 'always_populate_raw_post_data', value: '-1' }
|
||||
- { option: 'allow_url_fopen', value: 'on' }
|
||||
|
|
Loading…
Reference in New Issue