hkoba / yatt_lite

YATT::Lite - Template with "use strict"
Other
5 stars 0 forks source link

subpath '/' should be silently ignored (if no match rule is defined) #171

Open hkoba opened 5 years ago

hkoba commented 5 years ago

This change helps writing nginx url mapping (like my slashbar). In slashbar, access like /-/foo/ is mapped to /-/foo/index.yatt/. This means YATT::Lite see subpath /.

Emulating apache behavior perfectly in nginx is hard and may results in extreamly complex configuration files. So, let's implement a workaround for this specific case.