Added apache modules
This commit is contained in:
parent
b280208ee9
commit
ff6b42fc09
3 changed files with 239 additions and 17 deletions
12
apache/templates/proxy.conf.erb
Normal file
12
apache/templates/proxy.conf.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<% if has_variable?("apache_proxy_allow") -%>
|
||||
ProxyRequests On
|
||||
ProxyVia On
|
||||
|
||||
<Proxy *>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from <%= apache_proxy_allow %>
|
||||
</Proxy>
|
||||
<% else -%>
|
||||
ProxyRequests Off
|
||||
<% end -%>
|
Loading…
Add table
Add a link
Reference in a new issue