From 3930e04a70c590c3838608689d9e8f6f3c623d52 Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Mon, 15 Jun 2015 23:44:33 +0200 Subject: [PATCH] =?utf8?q?Suppression=C2=A0:=20=20=20=20=20=20=20=20etc/ng?= =?utf8?q?inx/site.d/lhc-clav-gre?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/nginx/site.d/lhc-clav-gre/http.conf | 0 etc/nginx/site.d/lhc-clav-gre/local.conf | 1 - etc/nginx/site.d/lhc-clav-gre/local.sh | 5 ---- etc/nginx/site.d/lhc-clav-gre/site.conf | 28 ------------------- etc/php5/fpm/pool.d/lhc_clav_gre/php-fpm.conf | 13 --------- 5 files changed, 47 deletions(-) delete mode 100644 etc/nginx/site.d/lhc-clav-gre/http.conf delete mode 100644 etc/nginx/site.d/lhc-clav-gre/local.conf delete mode 100644 etc/nginx/site.d/lhc-clav-gre/local.sh delete mode 100644 etc/nginx/site.d/lhc-clav-gre/site.conf delete mode 100644 etc/php5/fpm/pool.d/lhc_clav_gre/php-fpm.conf diff --git a/etc/nginx/site.d/lhc-clav-gre/http.conf b/etc/nginx/site.d/lhc-clav-gre/http.conf deleted file mode 100644 index e69de29..0000000 diff --git a/etc/nginx/site.d/lhc-clav-gre/local.conf b/etc/nginx/site.d/lhc-clav-gre/local.conf deleted file mode 100644 index 56b9f1c..0000000 --- a/etc/nginx/site.d/lhc-clav-gre/local.conf +++ /dev/null @@ -1 +0,0 @@ -listen 80; diff --git a/etc/nginx/site.d/lhc-clav-gre/local.sh b/etc/nginx/site.d/lhc-clav-gre/local.sh deleted file mode 100644 index 4ef6323..0000000 --- a/etc/nginx/site.d/lhc-clav-gre/local.sh +++ /dev/null @@ -1,5 +0,0 @@ -pool=lhc_clav_gre -sudo adduser php_"$pool" www-"$site" -#sudo adduser www-"$site"-tls www-"$site" -"$tool"/local/mysql-user-create php_"$pool" -"$tool"/local/mysql-database-create php_"$pool" diff --git a/etc/nginx/site.d/lhc-clav-gre/site.conf b/etc/nginx/site.d/lhc-clav-gre/site.conf deleted file mode 100644 index 931c09f..0000000 --- a/etc/nginx/site.d/lhc-clav-gre/site.conf +++ /dev/null @@ -1,28 +0,0 @@ -server_name - clavette-grenoble.heureux-cyclage.org; -root /home/www/data/lhc-clav-gre/www; -index index.php; - -client_body_buffer_size 8k; -client_max_body_size 10m; - -location ~^/(tmp|config)/{ - return 403; -} -location ~ \.html$ { - log_not_found off; -} -location ~ \.php$ { - include /etc/nginx/conf.d/fastcgi.conf; - fastcgi_index index.php ; - fastcgi_param REDIRECT_STATUS 200; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - - fastcgi_pass unix:/run/php5/fpm/lhc_clav_gre; -} -error_page 404 = @spip; - -location @spip { - rewrite ^/(.*)(\.html)?$ /spip.php?url_propre=$1&$args last; -} -# vim: ft=sh diff --git a/etc/php5/fpm/pool.d/lhc_clav_gre/php-fpm.conf b/etc/php5/fpm/pool.d/lhc_clav_gre/php-fpm.conf deleted file mode 100644 index 0064260..0000000 --- a/etc/php5/fpm/pool.d/lhc_clav_gre/php-fpm.conf +++ /dev/null @@ -1,13 +0,0 @@ -#php_admin_value[extension] = pdo_mysql.so -php_admin_value[extension] = mysql.so -pm.max_children = 4 -pm.max_requests = 1000 -pm.max_spare_servers = 4 -pm.min_spare_servers = 2 -pm.process_idle_timeout = 60s -pm.start_servers = 2 -request_slowlog_timeout = 5s -request_terminate_timeout = 120s -rlimit_core = unlimited -rlimit_files = 131072 -security.limit_extensions = .php -- 2.20.1