File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 33## The cache zone referenced.
44fastcgi_cache microcache;
55## The cache key.
6- fastcgi_cache_key $cache_uid @$scheme$host$request_uri ;
6+ fastcgi_cache_key $cache_uid @$scheme$request_method$ host$request_uri ;
77
88## For 200 and 301 make the cache valid for 15s.
99fastcgi_cache_valid 200 301 15s ;
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ http {
100100 ## for crufty clients.
101101 ssl_ciphers ECDH+aRSA+AESGCM:ECDH+aRSA+SHA384:ECDH+aRSA+SHA256:ECDH:EDH+CAMELLIA:EDH+aRSA:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES :!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA;
102102
103- ## No SSL2 support. Legacy support of SSLv3 .
104- ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
103+ ## Enable TLS only. No SSL support .
104+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
105105
106106 ## Pregenerated Diffie-Hellman parameters.
107107 ssl_dhparam /etc/nginx/dh_param.pem;
@@ -117,8 +117,8 @@ http {
117117 ## Fill in with your own resolver.
118118 resolver 8.8.8.8 ;
119119
120- ## Use fast header compression for SPDY.
121- spdy_headers_comp 1;
120+ ## Use fast header compression for SPDY in nginx versions 1.3.15-1.8 .
121+ # spdy_headers_comp 1;
122122
123123 ## Uncomment to increase map_hash_bucket_size. If start getting
124124 ## [emerg]: could not build the map_hash, you should increase
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ location = /fpm-status {
1414 return 404 ;
1515 }
1616 fastcgi_pass www0;
17+ access_log off;
1718}
1819
1920## The ping page is at /ping and returns the string configured at the php-fpm level.
@@ -23,6 +24,7 @@ location = /ping {
2324 return 404 ;
2425 }
2526 fastcgi_pass www0;
27+ access_log off;
2628}
2729
2830## This is for the second pool. It assumes that you've configured
@@ -37,6 +39,7 @@ location = /fpm-status-zwei {
3739 return 404 ;
3840 }
3941 fastcgi_pass www1;
42+ access_log off;
4043}
4144
4245## The ping page is at /ping and returns the string configured at the php-fpm level.
@@ -46,6 +49,7 @@ location = /ping-zwei {
4649 return 404 ;
4750 }
4851 fastcgi_pass www1;
52+ access_log off;
4953}
5054
5155## This is for the third pool that acts as backup. It assumes that
@@ -61,6 +65,7 @@ location = /fpm-status-drei {
6165 return 404 ;
6266 }
6367 fastcgi_pass www2;
68+ access_log off;
6469}
6570
6671## The ping page is at /ping and returns the string configured at the php-fpm level.
@@ -70,4 +75,5 @@ location = /ping-drei {
7075 return 404 ;
7176 }
7277 fastcgi_pass www2;
78+ access_log off;
7379}
You can’t perform that action at this time.
0 commit comments