You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Server redirects configuration (www => non-www, vice versa), its applicable# to all domains/subdomains configured in `routes.conf`## Note: Its applicable to hostname only not protocol. For `http => https`# refer to config section `server.ssl.redirect_http`.
redirect {
# Enabling redirects.# Default value is `false`.enable = true# Possible values are# - `www` - aahframework.org => www.aahframework.org# - `non-www` - www.aahframework.org => aahframework.org# Default value is `non-www`.#to = "www"# Redirect code.# Default value is 301 MovedPermanently RFC 7231.#code = 301
}
The text was updated successfully, but these errors were encountered:
Goal is to add OOTB support for server redirects.
Configuration goes under section
server { ... }
The text was updated successfully, but these errors were encountered: