Skip to content

Commit 42a0822

Browse files
committed
add vhost level cache root for openlitespeed
1 parent 9346171 commit 42a0822

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

plogical/vhostConfs.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,12 @@ class vhostConfs:
7676
{open_basedir}
7777
}
7878
79+
module cache {
80+
storagePath $VH_ROOT/lscache
81+
}
82+
7983
rewrite {
80-
enable 1
84+
enable 1
8185
autoLoadHtaccess 1
8286
}
8387
"""
@@ -122,6 +126,10 @@ class vhostConfs:
122126
{open_basedir}
123127
}
124128
129+
module cache {
130+
storagePath $VH_ROOT/lscache
131+
}
132+
125133
errorpage 403 {
126134
url 403.html
127135
}

0 commit comments

Comments
 (0)