From 81bef92988930f64deae7cdca1984b95f4d7546a Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Mon, 9 Aug 2021 18:41:46 -0500 Subject: [PATCH] don't use version in socket name. --- roles/pbx/templates/asterisk.conf | 2 +- roles/pbx/templates/freepbx-nginx.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/pbx/templates/asterisk.conf b/roles/pbx/templates/asterisk.conf index af00d97ad..35c8bd0d5 100644 --- a/roles/pbx/templates/asterisk.conf +++ b/roles/pbx/templates/asterisk.conf @@ -33,7 +33,7 @@ group = www-data ; (IPv6 and IPv4-mapped) on a specific port; ; '/path/to/unix/socket' - to listen on a unix socket. ; Note: This value is mandatory. -listen = /run/php/php7.4-asterisk.sock +listen = /run/php/php-asterisk.sock ; Set listen(2) backlog. ; Default Value: 511 (-1 on FreeBSD and OpenBSD) diff --git a/roles/pbx/templates/freepbx-nginx.conf.j2 b/roles/pbx/templates/freepbx-nginx.conf.j2 index a1dda4cc3..1399a11a4 100644 --- a/roles/pbx/templates/freepbx-nginx.conf.j2 +++ b/roles/pbx/templates/freepbx-nginx.conf.j2 @@ -12,7 +12,7 @@ location ~ ^/freepbx(|/.*)$ { # '~' -> '~*' for case-insensitive regex alias {{ freepbx_install_dir }}$1.php$2; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; - fastcgi_pass unix:/run/php/php7.4-asterisk.sock; + fastcgi_pass unix:/run/php/php-asterisk.sock; include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_path_info;