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: transcaffeine
GPG Key ID: 03624C433676E465
1 changed files with 1 additions and 1 deletions

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 %}