7e33272f84
more secure Added SSL caching to speed up SSL requests Add server_tokens to the global config so this can be turned on|off between dev and prod Add proxy_set_header to vhost as different vhosts may require different headers and the global setting is not ideal Minor space formatting so that the generated files are fractionally more readable
6 lines
211 B
Text
6 lines
211 B
Text
upstream <%= name %> {
|
|
<% if @upstream_cfg_prepend -%><% upstream_cfg_prepend.each do |key,value| -%>
|
|
<%= key %> <%= value %>;<% end -%><% end -%>
|
|
<% members.each do |i| %>
|
|
server <%= i %>;<% end %>
|
|
}
|