nginx/php-pool: Fixed memory_limit default to avoid overwrite by roles before

dehydrated
Felix Stupp 4 years ago
parent ef53197925
commit 3ab19950c4
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -8,6 +8,6 @@ socket_directory: "{{ phpfpm_sockets_directory }}/{{ pool_name }}"
socket: "{{ socket_directory }}/socket"
includes: []
env_vars: {}
# memory_limit: 256M #optional
memory_limit: 0 # unlimited
# status_page_path: "/status" # Disabled by default

@ -35,6 +35,6 @@ env[{{ key }}] = {{ val | quote }}
{% endfor %}
php_admin_value[include_path] = ".:{{ includes | join(':') }}:/usr/share/php"
{% if memory_limit is defined %}
{% if memory_limit is defined and memory_limit %}
php_admin_value[memory_limit] = {{ memory_limit }}
{% endif %}

Loading…
Cancel
Save