Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OOTB support www->non-www and vice-versa #177

jeevatkm opened this issue May 8, 2018 · 1 comment


Copy link

@jeevatkm jeevatkm commented May 8, 2018

Goal is to add OOTB support for server redirects.

  • www => non-www
  • non-www => www

Configuration goes under section server { ... }

# 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`     -      =>
  #   - `non-www` -  =>
  # Default value is `non-www`.
  #to = "www"

  # Redirect code.
  # Default value is 301 MovedPermanently RFC 7231.
  #code = 301
@jeevatkm jeevatkm added this to the v0.11.0 Milestone milestone May 8, 2018
@jeevatkm jeevatkm self-assigned this May 8, 2018
@jeevatkm jeevatkm added this to v0.11.0 - Iteration in aah Roadmap via automation May 8, 2018
@jeevatkm jeevatkm changed the title Add OOTB support www->non www and vice-versa Add OOTB support www->non-www and vice-versa May 8, 2018
@jeevatkm jeevatkm moved this from v0.11.0 - Iteration to v0.11.0 - In Progress in aah Roadmap May 8, 2018
jeevatkm added a commit that referenced this issue May 9, 2018

This comment has been minimized.

Copy link
Member Author

@jeevatkm jeevatkm commented May 9, 2018

Completed, available on edge.

@jeevatkm jeevatkm closed this May 9, 2018
aah Roadmap automation moved this from v0.11.0 - In Progress to v0.11.0 - Completed May 9, 2018
@jeevatkm jeevatkm moved this from v0.11.0 - Completed to Released to Audience in aah Roadmap Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
aah Roadmap
Released to Audience
1 participant
You can’t perform that action at this time.