forked from krakazyabra/wordpress-ols-php8-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker.conf
58 lines (48 loc) · 1.17 KB
/
docker.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
allowSymbolLink 1
enableScript 1
restrained 1
setUIDMode 2
vhRoot /var/www/vhosts/$VH_NAME/
configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf
virtualHostConfig {
docRoot $VH_ROOT/html/
enableGzip 1
errorlog {
useServer 1
}
accesslog $SERVER_ROOT/logs/$VH_NAME.access.log {
useServer 0
rollingSize 100M
keepDays 7
compressArchive 1
}
index {
useServer 0
indexFiles index.html, index.php
autoIndex 0
autoIndexURI /_autoindex/default.php
}
expires {
enableExpires 1
}
accessControl {
allow *
}
context / {
location $DOC_ROOT/
allowBrowse 1
rewrite {
RewriteFile .htaccess
}
}
rewrite {
enable 1
autoLoadHtaccess 1
logLevel 0
}
vhssl {
keyFile /root/.acme.sh/certs/$VH_NAME/$VH_NAME.key
certFile /root/.acme.sh/certs/$VH_NAME/fullchain.cer
certChain 1
}
}