1
0
forked from infra/ansible

web: make compatiable with Debian 12

This commit is contained in:
Markus 2023-07-17 16:24:07 +02:00
parent f484efbd54
commit a12e0bf43b
2 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ server {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
fastcgi_intercept_errors on;
}
}

View File

@ -39,5 +39,5 @@
file: src=/etc/nginx/sites-available/www dest=/etc/nginx/sites-enabled/www state=link
notify: Restart nginx
- name: Start php7.4-fpm
service: name=php7.4-fpm state=started enabled=yes
- name: Start php8.2-fpm
service: name=php8.2-fpm state=started enabled=yes