Browse Source

chg: [apache] custom rules are now before the content so as to add proxy rules if necessary

postgres
Valentin Lab 6 years ago
parent
commit
bc6bd27d90
  1. 3
      apache/lib/common

3
apache/lib/common

@ -474,6 +474,8 @@ __vhost_full_vhost_statement() {
$(__vhost_head_statement "$protocol" | prefix " ")
$(__vhost_custom_rules | prefix " ")
$(__vhost_content_statement "$protocol" | prefix " ")
## Forbid any cache, this is only usefull on dev server.
@ -482,7 +484,6 @@ $(__vhost_content_statement "$protocol" | prefix " ")
#Header set Access-Control-Allow-Methods "POST, GET, OPTIONS"
#Header set Access-Control-Allow-Headers "origin, content-type, accept"
$([ "$protocol" == "https" ] && __vhost_ssl_statement | prefix " ")
$(__vhost_custom_rules | prefix " ")
</VirtualHost>
EOF

Loading…
Cancel
Save