OLD | NEW |
1 user <%= scope.lookupvar('nginx::params::user') %> <%= scope.lookupvar('nginx::p
arams::group') %>; | 1 user <%= scope.lookupvar('nginx::params::user') %> <%= scope.lookupvar('nginx::p
arams::group') %>; |
2 worker_processes <%= worker_processes %>; | 2 worker_processes <%= worker_processes %>; |
3 | 3 |
4 error_log /var/log/nginx/error.log notice; | 4 error_log /var/log/nginx/error.log notice; |
5 pid /var/run/nginx.pid; | 5 pid /var/run/nginx.pid; |
6 | 6 |
7 events { | 7 events { |
8 worker_connections <%= worker_connections %>; | 8 worker_connections <%= worker_connections %>; |
9 <% if scope.lookupvar('nginx::params::multi_accept') == 'on' %>multi_accept on
;<% end %> | 9 <% if scope.lookupvar('nginx::params::multi_accept') == 'on' %>multi_accept on
;<% end %> |
10 } | 10 } |
(...skipping 27 matching lines...) Expand all Loading... |
38 <% end %> | 38 <% end %> |
39 | 39 |
40 ssl_ciphers RC4:ALL:-LOW:-EXPORT:!aNULL:!aECDH:!MD5; | 40 ssl_ciphers RC4:ALL:-LOW:-EXPORT:!aNULL:!aECDH:!MD5; |
41 ssl_prefer_server_ciphers on; | 41 ssl_prefer_server_ciphers on; |
42 <% if ssl_session_cache == 'on' %> | 42 <% if ssl_session_cache == 'on' %> |
43 ssl_session_cache shared:SSL:1m; | 43 ssl_session_cache shared:SSL:1m; |
44 <% end %> | 44 <% end %> |
45 | 45 |
46 types_hash_max_size 2048; | 46 types_hash_max_size 2048; |
47 | 47 |
| 48 server_names_hash_bucket_size 64; |
| 49 |
48 include /etc/nginx/conf.d/*.conf; | 50 include /etc/nginx/conf.d/*.conf; |
49 include /etc/nginx/sites-enabled/*; | 51 include /etc/nginx/sites-enabled/*; |
50 } | 52 } |
OLD | NEW |