1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Fix PHP selection in NGINX conf

This commit is contained in:
tituspijean 2021-10-02 00:16:04 +02:00
parent c89da774a6
commit fe2bfa67a6
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -32,7 +32,7 @@ location __PATH__/ {
# Execute and serve PHP files
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_pass unix:/var/run/php/php__PHP_CUSTOM__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;