summaryrefslogtreecommitdiff
path: root/templates/vhosts/itk_plus/partial.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/itk_plus/partial.erb')
-rw-r--r--templates/vhosts/itk_plus/partial.erb26
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/vhosts/itk_plus/partial.erb b/templates/vhosts/itk_plus/partial.erb
index 9c5a1ac..39aa6c8 100644
--- a/templates/vhosts/itk_plus/partial.erb
+++ b/templates/vhosts/itk_plus/partial.erb
@@ -1,32 +1,32 @@
- ProxyPreserveHost On
- ProxyRequests off
+ ProxyPreserveHost On
+ ProxyRequests off
<% if vhost_part == :ssl -%>
- SSLProxyEngine On
+ SSLProxyEngine On
<% if run_mode.to_s == 'static-itk' -%>
- ProxyPassMatch ^/(.*\.<%= passing_extension %>/?.*)$ https://127.0.0.1/$1
+ ProxyPassMatch ^/(.*\.<%= passing_extension %>/?.*)$ https://127.0.0.1/$1
<% else -%>
- ProxyPass / https://127.0.0.1/
+ ProxyPass / https://127.0.0.1/
<% end -%>
- ProxyPassReverse / https://127.0.0.1/
+ ProxyPassReverse / https://127.0.0.1/
<% else -%>
<% if run_mode.to_s == 'static-itk' -%>
- ProxyPassMatch ^/(.*\.<%= passing_extension %>/?.*)$ http://127.0.0.1/$1
+ ProxyPassMatch ^/(.*\.<%= passing_extension %>/?.*)$ http://127.0.0.1/$1
<% else -%>
- ProxyPass / http://127.0.0.1/
+ ProxyPass / http://127.0.0.1/
<% end -%>
- ProxyPassReverse / http://127.0.0.1/
+ ProxyPassReverse / http://127.0.0.1/
<% end -%>
<% if run_mode.to_s == 'static-itk' && (ssl_mode.to_s != 'force' || vhost_part == :ssl) -%>
- <Directory "<%= documentroot %>/">
- AllowOverride <%= allow_override %>
+ <Directory "<%= documentroot %>/">
+ AllowOverride <%= allow_override %>
<% if options.to_s != 'absent' or do_includes.to_s == 'true' -%>
- Options <% unless options.to_s == 'absent' -%><%= options %><% end -%><% if do_includes.to_s == 'true' and not options.include?('+Includes') -%> +Includes<% end -%>
+ Options <% unless options.to_s == 'absent' -%><%= options %><% end -%><% if do_includes.to_s == 'true' and not options.include?('+Includes') -%> +Includes<% end -%>
<% end -%>
<%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %>
- </Directory>
+ </Directory>
<% end -%>