|
@@ -2696,6 +2696,18 @@ cgi.fix_pathinfo=0
|
2696
|
2696
|
Save and exit. Also edit */etc/php5/cli/php.ini* and set /memory_limit/ to the same value. This should prevent any rogue scripts from crashing the system.
|
2697
|
2697
|
|
2698
|
2698
|
#+BEGIN_SRC: bash
|
|
2699
|
+editor /etc/php5/fpm/pool.d/www.conf
|
|
2700
|
+#+END_SRC
|
|
2701
|
+
|
|
2702
|
+Set the following:
|
|
2703
|
+
|
|
2704
|
+#+BEGIN_SRC: bash
|
|
2705
|
+pm.max_children = 10
|
|
2706
|
+#+END_SRC
|
|
2707
|
+
|
|
2708
|
+Save and exit.
|
|
2709
|
+
|
|
2710
|
+#+BEGIN_SRC: bash
|
2699
|
2711
|
service php5-fpm restart
|
2700
|
2712
|
service nginx restart
|
2701
|
2713
|
#+END_SRC
|
|
@@ -7203,7 +7215,7 @@ map $http_upgrade $connection_upgrade {
|
7203
|
7215
|
}
|
7204
|
7216
|
|
7205
|
7217
|
server {
|
7206
|
|
- listen 443 ssl;
|
|
7218
|
+ listen 443;
|
7207
|
7219
|
server_name tunes.us.to;
|
7208
|
7220
|
index index.html index.htm;
|
7209
|
7221
|
|