Answer the question
In order to leave comments, you need to log in
How to make a redirect if the address ends with /?
Actually I use the play framework and nginx as a proxy, there is an address like domain.my/param/
This results in an error. If you contact domain.my/param, then there are no problems.
How can I make play work with domain.my/param/ addresses without adding a newline to the routes, or how can I redirect if the address ends in / ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question