mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 04:24:12 +00:00
PHP-FPM Option w/o version (#166)
This commit is contained in:
parent
104a718c05
commit
446775978f
2 changed files with 3 additions and 1 deletions
|
@ -38,5 +38,6 @@ export default {
|
|||
php72Socket: '7.2 socket',
|
||||
php73Socket: '7.3 socket',
|
||||
php74Socket: '7.4 socket',
|
||||
phpSocket: 'PHP socket',
|
||||
disabled: 'Disabled',
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue