folders: when /path , redirect to /path/
folders: when /path , redirect to /path/

folders must have the ending slash, and in case the app is behind a proxy, we need the real path.

Example:

http://ir/security/wasm -> localhost:8082/wasm

If we redirect with header Location=/wasm/ , the real addres for the browser is
http://ir/wasm and this is obiously an error.

ax1/a1-server