wiki: do not rewrite served files
This commit is contained in:
parent
09602f7f39
commit
8388bd3280
@ -142,6 +142,7 @@ in
|
|||||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
|
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
|
||||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
|
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
|
||||||
${concatMapStringsSep "\n" (u: "RewriteCond %{REQUEST_URI} !^${u.urlPath}") serverInfo.vhostConfig.servedDirs}
|
${concatMapStringsSep "\n" (u: "RewriteCond %{REQUEST_URI} !^${u.urlPath}") serverInfo.vhostConfig.servedDirs}
|
||||||
|
${concatMapStringsSep "\n" (u: "RewriteCond %{REQUEST_URI} !^${u.urlPath}") serverInfo.vhostConfig.servedFiles}
|
||||||
RewriteRule ${if config.enableUploads
|
RewriteRule ${if config.enableUploads
|
||||||
then "!^/images"
|
then "!^/images"
|
||||||
else "^.*\$"
|
else "^.*\$"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user