|
|
@ -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 |
|
|
|
|
|
|
|