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

Closed
jeevatkm opened this issue May 8, 2018 · 1 comment
Closed

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

jeevatkm opened this issue May 8, 2018 · 1 comment
Assignees
Labels
aah Framework scope enhancement
Projects

Comments

@jeevatkm
Copy link
Member

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`     - 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
}
@jeevatkm jeevatkm added enhancement aah Framework scope labels May 8, 2018
@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
Copy link
Member Author

jeevatkm commented May 9, 2018

Completed, available on edge.

@jeevatkm jeevatkm closed this as completed 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
Labels
aah Framework scope enhancement
Projects
aah Roadmap
  
Released to Audience
Development

No branches or pull requests

1 participant