roles/nginx: Fix php7.3-fpm socket location on Debian 10
This commit is contained in:
parent
2740f050fc
commit
1ec6d07232
@ -68,6 +68,8 @@ server {
|
|||||||
fastcgi_pass unix:/run/php/php7.0-fpm-{{ domain_name }}.sock;
|
fastcgi_pass unix:/run/php/php7.0-fpm-{{ domain_name }}.sock;
|
||||||
{% elif ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('18.04', '==') %}
|
{% elif ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('18.04', '==') %}
|
||||||
fastcgi_pass unix:/run/php/php7.2-fpm-{{ domain_name }}.sock;
|
fastcgi_pass unix:/run/php/php7.2-fpm-{{ domain_name }}.sock;
|
||||||
|
{% elif ansible_distribution == 'Debian' and ansible_distribution_version is version_compare('10', '==') %}
|
||||||
|
fastcgi_pass unix:/run/php/php7.3-fpm-{{ domain_name }}.sock;
|
||||||
{% else %}
|
{% else %}
|
||||||
fastcgi_pass unix:/var/run/php5-fpm-{{ domain_name }}.sock;
|
fastcgi_pass unix:/var/run/php5-fpm-{{ domain_name }}.sock;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user