redirect-trailing-slash
does nothing with active [[advanced.rewrites]]
#387
Labels
redirect-trailing-slash
does nothing with active [[advanced.rewrites]]
#387
Search for duplicate issues
Issue scope
Docker / Kubernetes
Describe the bug
In my case I have to specify globing pattern to set alternative root path for my static. The config is:
That's required cause I store my static in
./public
root, but endpoint is behind the nginx reverse proxy onlocation /value/manage
So, the accessed URL from browser is 'example.com/value/manage' provides no redirect to trailing slash URL, breaking my relative paths
I know the workaround is to specify rewrites inside reverse proxy configuration or probably just make hard redirect using
[[advanced.redirects]]
but anyways, theredirect-trailing-slash
seems for me completely not workingHow to reproduce it
{**}
rewrite directive and specifyredirect-trailing-slash = true
For example take
example.com/manage
Expected behavior
HTTP 301
orHTTP 308
redirect toexample.com/manage/
URLComplementary information
No response
Build target
Docker linux/amd64
Environment and specs
Additional context
No response
The text was updated successfully, but these errors were encountered: