Kapisi/roles/WebServer/files/conf.d/Yggdrasil/fastcgi.config

14 lines
353 B
Plaintext
Raw Normal View History

2022-07-02 10:24:10 -05:00
location ~ \.php$ {
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_param DOCUMENT_ROOT $realpath_root;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
}