Merge branch 'master' into feature/wireguard

This commit is contained in:
Bill Zimmerman
2021-03-09 12:11:21 +01:00
committed by GitHub
8 changed files with 96 additions and 36 deletions

View File

@@ -2,8 +2,8 @@ server.modules += (
"mod_rewrite",
)
$HTTP["url"] =~ "^/(?!(dist|app|ajax|config)).*" {
url.rewrite-once = (
"^/[^\?]*(\?.*)?" => "/index.php$1"
)
$HTTP["url"] =~ "^/REPLACE_ME/(?!(dist|app|ajax|config)).*" {
url.rewrite-once = ( "^/REPLACE_ME/(.*?)(\?.+)?$"=>"/REPLACE_ME/index.php/$1?$2" )
server.error-handler-404 = "/REPLACE_ME/index.php"
}