fix(nginx-fpm-proxy): compare fpm_socket against strings not sequences

This commit is contained in:
transcaffeine 2022-06-19 14:34:20 +02:00
parent f27abe9e42
commit 29a145fe42
Signed by untrusted user: transcaffeine
GPG Key ID: 03624C433676E465

View File

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