Adds support for root redirection, and improves rewrite documentation

This commit is contained in:
Ricardo Pchevuzinske Katz 2017-03-13 12:03:47 -03:00
parent c41e6bd82f
commit 0e5d3ca9e9
4 changed files with 76 additions and 11 deletions

View file

@ -41,8 +41,9 @@ type Redirect struct {
// SSLRedirect indicates if the location section is accessible SSL only
SSLRedirect bool `json:"sslRedirect"`
// ForceSSLRedirect indicates if the location section is accessible SSL only
ForceSSLRedirect bool `json:"forceSSLRedirect"`
AppRoot string `json:"appRoot"`
ForceSSLRedirect bool `json:"forceSSLRedirect"`
// AppRoot defines the Application Root that the Controller must redirect if it's not in '/' context
AppRoot string `json:"appRoot"`
}
type rewrite struct {