merge-requests/2/head
Matthew 2022-02-14 18:42:37 -05:00
parent 4670c87c4f
commit d765e760de
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 9 additions and 5 deletions

View File

@ -14,10 +14,14 @@ server {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_param HTACCESS on;
proxy_read_timeout 800;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass unix:/run/php/php7.4.sock;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_read_timeout 300;
proxy_read_timeout 300;
}
}