mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
added bins to remove and add sites, changed dockerfile. added new format
This commit is contained in:
Executable
+57
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user