added bins to remove and add sites, changed dockerfile. added new format

This commit is contained in:
lars-hagen
2019-12-25 20:43:33 +01:00
parent 316c348b5c
commit b5165fcd28
48 changed files with 4448 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
vhRoot /var/www/vhosts/$VH_NAME/
configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf
allowSymbolLink 1
enableScript 1
restrained 1
setUIDMode 0
virtualHostConfig {
docRoot $VH_ROOT/html/
enableGzip 1
errorlog {
useServer 1
}
accesslog $SERVER_ROOT/logs/$VH_NAME.access.log {
useServer 0
rollingSize 100M
keepDays 30
compressArchive 1
}
index {
useServer 0
indexFiles index.html, index.php
autoIndex 0
autoIndexURI /_autoindex/default.php
}
expires {
enableExpires 1
}
accessControl {
allow *
}
context /cgi-bin/ {
type cgi
location $VH_ROOT/cgi-bin/
}
context / {
location $DOC_ROOT/
allowBrowse 1
rewrite {
RewriteFile .htaccess
}
}
rewrite {
enable 0
logLevel 0
}
}