From 446775978f0fc6869b4de4704c5bc99d34e03059 Mon Sep 17 00:00:00 2001 From: Mikhail Solovev Date: Tue, 15 Sep 2020 13:06:45 +0300 Subject: [PATCH] PHP-FPM Option w/o version (#166) --- src/nginxconfig/i18n/en/templates/global_sections/php.js | 1 + src/nginxconfig/templates/global_sections/php.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nginxconfig/i18n/en/templates/global_sections/php.js b/src/nginxconfig/i18n/en/templates/global_sections/php.js index 77f06bc..46e5bc9 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/php.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/php.js @@ -38,5 +38,6 @@ export default { php72Socket: '7.2 socket', php73Socket: '7.3 socket', php74Socket: '7.4 socket', + phpSocket: 'PHP socket', disabled: 'Disabled', }; diff --git a/src/nginxconfig/templates/global_sections/php.vue b/src/nginxconfig/templates/global_sections/php.vue index cbe3caa..6d32df2 100644 --- a/src/nginxconfig/templates/global_sections/php.vue +++ b/src/nginxconfig/templates/global_sections/php.vue @@ -95,11 +95,12 @@ THE SOFTWARE. '/var/run/php/php7.0-fpm.sock': `${i18n.templates.globalSections.php.php70Socket}: /var/run/php/php7.0-fpm.sock`, '/var/run/php/php7.3-fpm.sock': `${i18n.templates.globalSections.php.php73Socket}: /var/run/php/php7.3-fpm.sock`, '/var/run/php/php7.4-fpm.sock': `${i18n.templates.globalSections.php.php74Socket}: /var/run/php/php7.4-fpm.sock`, + '/var/run/php/php-fpm.sock': `${i18n.templates.globalSections.php.phpSocket}: /var/run/php/php-fpm.sock`, }; const defaults = { phpServer: { - default: '/var/run/php/php7.2-fpm.sock', + default: '/var/run/php/php-fpm.sock', options: serverOptions, enabled: true, },