Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops
Commits
9512b2c6
Commit
9512b2c6
authored
Nov 24, 2021
by
nono
💻
Browse files
Mise à jour de la conf de test du site de don
parent
d86d6573
Changes
1
Hide whitespace changes
Inline
Side-by-side
group_vars/don/don.yml
View file @
9512b2c6
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment