diff --git a/roles/nginx/templates/vhost.conf.j2 b/roles/nginx/templates/vhost.conf.j2 index af7fb52..e5021b6 100644 --- a/roles/nginx/templates/vhost.conf.j2 +++ b/roles/nginx/templates/vhost.conf.j2 @@ -68,6 +68,8 @@ server { fastcgi_pass unix:/run/php/php7.0-fpm-{{ domain_name }}.sock; {% elif ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('18.04', '==') %} 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 %} fastcgi_pass unix:/var/run/php5-fpm-{{ domain_name }}.sock; {% endif %}