Update nginx-nossl.conf

Variable php version place holder for 'fastcgi_pass'
This commit is contained in:
Toxicterror 2020-07-07 11:43:46 +02:00 committed by GitHub
parent e20dea45e3
commit 6dd276df2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ server {
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
fastcgi_pass unix:/run/php/<phpversion>-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";