Commit 9512b2c6 authored by nono's avatar nono 💻
Browse files

Mise à jour de la conf de test du site de don

parent d86d6573
......@@ -52,7 +52,7 @@ php_upload_max_filesize: "256M"
php_fpm_pools:
- pool_name: don
pool_template: www.conf.j2
pool_listen: "127.0.0.1:8000"
pool_listen: "/var/run/php/don.sock"
pool_listen_allowed_clients: "127.0.0.1"
pool_pm: dynamic
pool_pm_max_children: 5
......@@ -107,11 +107,15 @@ nginx_vhosts:
location ~ \.php$ {
#NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
include /etc/nginx/fastcgi_params;
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_intercept_errors on;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_read_timeout 300;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
fastcgi_pass unix:/var/run/php/don.sock;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment