mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
Inside the domain contexts a 'redirect' rule will allow you to redirect a request to another URI. Ex: Redirect all requests with a 301 to example.com redirect ^/.*$ 301 https://example.com Using capture groups redirect ^/account/(.*)$ 301 https://example.com/account/$1 Adding the query string in the mix redirect ^/(.*)$ 301 https://example.com/$1?$qs