Skip to content

Commit

Permalink
Removed extra whitespace
Browse files Browse the repository at this point in the history
Fixed missing -%>
  • Loading branch information
Morgan Haskel committed Aug 7, 2014
1 parent 328cbf8 commit fbc2916
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions templates/vhost.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<%= scope.function_template(['apache/vhost/_directories.erb']) -%>

## Load additional static includes
<% Array(@additional_includes).each do |include| %>
<% Array(@additional_includes).each do |include| -%>
Include "<%= include %>"
<% end %>
<% end -%>

## Logging
<% if @error_log -%>
Expand Down
6 changes: 3 additions & 3 deletions templates/vhost/_proxy.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
## Proxy rules
ProxyRequests Off
<%- end -%>
<% if @proxy_preserve_host %>
<% if @proxy_preserve_host -%>
ProxyPreserveHost On
<%- end -%>
<%- [@proxy_pass].flatten.compact.each do |proxy| -%>
ProxyPass <%= proxy['path'] %> <%= proxy['url'] %>
<Location <%= proxy['path']%>>
ProxyPassReverse <%= proxy['url'] %>
</Location>
<% end %>
<% end -%>
<% if @proxy_dest -%>
<%- Array(@no_proxy_uris).each do |uri| -%>
ProxyPass <%= uri %> !
<% end %>
<% end -%>
ProxyPass / <%= @proxy_dest %>/
<Location />
ProxyPassReverse <%= @proxy_dest %>/
Expand Down
2 changes: 1 addition & 1 deletion templates/vhost/_rewrite.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<%- end -%>
<%- end -%>
<%- end -%>
<%# reverse compatibility %>
<%# reverse compatibility -%>
<% if @rewrite_rule and !@rewrites -%>
## Rewrite rules
RewriteEngine On
Expand Down

0 comments on commit fbc2916

Please sign in to comment.