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
7 lines
325 B
Text
7 lines
325 B
Text
location <%= location %> {
|
|
<% if @location_cfg_prepend -%><% location_cfg_prepend.each do |key,value| -%>
|
|
<%= key %> <%= value %>;<% end -%><% end -%>
|
|
alias <%= location_alias %>;
|
|
<% if @location_cfg_append -%><% location_cfg_append.each do |key,value| -%>
|
|
<%= key %> <%= value %>;<% end -%><% end -%>
|
|
}
|