mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
vhRoot /var/www/vhosts/$VH_NAME/
|
|
configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf
|
|
allowSymbolLink 1
|
|
enableScript 1
|
|
restrained 1
|
|
setUIDMode 2
|
|
|
|
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
|
|
}
|
|
}
|
|
|