Modifications : etc/nginx/site.d/ptitvelo-www/site.conf - Site ptitvelo
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 3 Sep 2013 08:07:30 +0000 (10:07 +0200)
committerLudovic 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
etc/nginx/site.d/ptitvelo-www/site.conf
etc/php5/fpm/php.ini
etc/php5/fpm/pool.d/ptitvelo_www/php-fpm.conf

index 2f8e4f8..56b9f1c 100644 (file)
@@ -1,5 +1 @@
 listen 80;
-
-location = /ecrire {
-       return 301 "https://$http_host/ecrire";
- }
index 7e89d31..20bb326 100644 (file)
@@ -8,9 +8,6 @@ index index.php;
 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;
 }
index f567b8a..d09d85f 100644 (file)
@@ -80,7 +80,7 @@ mysql.default_socket = /run/mysqld/sock/mysql
 mysql.default_user =
 mysql.max_links = -1
 mysql.max_persistent = -1
-mysql.trace_mode = Off
+mysql.trace_mode = On
 [MySQLi]
 mysqli.allow_persistent = On
 mysqli.cache_size = 2000
index 5f689f7..04813ff 100644 (file)
@@ -1,11 +1,11 @@
-php_admin_value[extension] = pdo_mysql.so
+#php_admin_value[extension] = pdo_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.start_servers = 1
+pm.start_servers = 2
 request_slowlog_timeout = 5s
 request_terminate_timeout = 120s
 rlimit_core = unlimited