dépôts
/
lhc
/
ateliers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f92c7d
)
Modifications : etc/nginx/site.d/ptitvelo-www/site.conf - Site ptitvelo
author
Ludovic CHEVALIER
<ludovic.chevalier@heureux-cyclage.org>
Tue, 3 Sep 2013 08:07:30 +0000
(10:07 +0200)
committer
Ludovic CHEVALIER
<ludovic.chevalier@heureux-cyclage.org>
Tue, 3 Sep 2013 08:07:30 +0000
(10:07 +0200)
fonctionnel
etc/nginx/site.d/ptitvelo-www/local.conf
patch
|
blob
|
history
etc/nginx/site.d/ptitvelo-www/site.conf
patch
|
blob
|
history
etc/php5/fpm/php.ini
patch
|
blob
|
history
etc/php5/fpm/pool.d/ptitvelo_www/php-fpm.conf
patch
|
blob
|
history
diff --git
a/etc/nginx/site.d/ptitvelo-www/local.conf
b/etc/nginx/site.d/ptitvelo-www/local.conf
index
2f8e4f8
..
56b9f1c
100644
(file)
--- a/
etc/nginx/site.d/ptitvelo-www/local.conf
+++ b/
etc/nginx/site.d/ptitvelo-www/local.conf
@@
-1,5
+1
@@
listen 80;
listen 80;
-
-location = /ecrire {
- return 301 "https://$http_host/ecrire";
- }
diff --git
a/etc/nginx/site.d/ptitvelo-www/site.conf
b/etc/nginx/site.d/ptitvelo-www/site.conf
index
7e89d31
..
20bb326
100644
(file)
--- a/
etc/nginx/site.d/ptitvelo-www/site.conf
+++ b/
etc/nginx/site.d/ptitvelo-www/site.conf
@@
-8,9
+8,6
@@
index index.php;
client_body_buffer_size 8k;
client_max_body_size 10m;
client_body_buffer_size 8k;
client_max_body_size 10m;
-location / {
- try_files $uri $uri/ /spip.php?q=$uri&$args;
-}
location ~^/(tmp|config)/{
return 403;
}
location ~^/(tmp|config)/{
return 403;
}
diff --git
a/etc/php5/fpm/php.ini
b/etc/php5/fpm/php.ini
index
f567b8a
..
d09d85f
100644
(file)
--- a/
etc/php5/fpm/php.ini
+++ b/
etc/php5/fpm/php.ini
@@
-80,7
+80,7
@@
mysql.default_socket = /run/mysqld/sock/mysql
mysql.default_user =
mysql.max_links = -1
mysql.max_persistent = -1
mysql.default_user =
mysql.max_links = -1
mysql.max_persistent = -1
-mysql.trace_mode = O
ff
+mysql.trace_mode = O
n
[MySQLi]
mysqli.allow_persistent = On
mysqli.cache_size = 2000
[MySQLi]
mysqli.allow_persistent = On
mysqli.cache_size = 2000
diff --git
a/etc/php5/fpm/pool.d/ptitvelo_www/php-fpm.conf
b/etc/php5/fpm/pool.d/ptitvelo_www/php-fpm.conf
index
5f689f7
..
04813ff
100644
(file)
--- a/
etc/php5/fpm/pool.d/ptitvelo_www/php-fpm.conf
+++ b/
etc/php5/fpm/pool.d/ptitvelo_www/php-fpm.conf
@@
-1,11
+1,11
@@
-php_admin_value[extension] = pdo_mysql.so
+
#
php_admin_value[extension] = pdo_mysql.so
php_admin_value[extension] = mysql.so
php_admin_value[extension] = mysql.so
-pm.max_children =
15
-pm.max_requests =
200
-pm.max_spare_servers =
5
-pm.min_spare_servers =
1
+pm.max_children =
4
+pm.max_requests =
1
+pm.max_spare_servers =
4
+pm.min_spare_servers =
2
pm.process_idle_timeout = 60s
pm.process_idle_timeout = 60s
-pm.start_servers =
1
+pm.start_servers =
2
request_slowlog_timeout = 5s
request_terminate_timeout = 120s
rlimit_core = unlimited
request_slowlog_timeout = 5s
request_terminate_timeout = 120s
rlimit_core = unlimited