Update nginx config

This commit is contained in:
Daniel Supernault 2023-06-04 08:13:08 -06:00
parent fccd927c0b
commit fbdc635829
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -30,6 +30,7 @@ server {
error_page 404 /index.php; error_page 404 /index.php;
location ~ \.php$ { location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string; fastcgi_param QUERY_STRING $query_string;