Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/nginx/templates/nginx.conf.erb

Issue 9428006: Disable SSL cache on download servers (Closed)
Patch Set: Created Feb. 20, 2013, 9:49 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/nginx/manifests/params.pp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 21 matching lines...) Expand all
32 <% if scope.lookupvar('nginx::params::gzip') == 'on' %> 32 <% if scope.lookupvar('nginx::params::gzip') == 'on' %>
33 gzip on; 33 gzip on;
34 gzip_disable "msie6"; 34 gzip_disable "msie6";
35 gzip_min_length 100; 35 gzip_min_length 100;
36 gzip_buffers 4 8k; 36 gzip_buffers 4 8k;
37 gzip_types text/plain text/xhtml text/css application/x-javascript text/xml ap plication/atom+xml application/rss+xml; 37 gzip_types text/plain text/xhtml text/css application/x-javascript text/xml ap plication/atom+xml application/rss+xml;
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 ssl_session_cache shared:SSL:1m; 43 ssl_session_cache shared:SSL:1m;
44 <% end %>
43 45
44 include /etc/nginx/conf.d/*.conf; 46 include /etc/nginx/conf.d/*.conf;
45 include /etc/nginx/sites-enabled/*; 47 include /etc/nginx/sites-enabled/*;
46 } 48 }
OLDNEW
« no previous file with comments | « modules/nginx/manifests/params.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld