Adds support for root redirection, and improves rewrite documentation
This commit is contained in:
parent
c41e6bd82f
commit
0e5d3ca9e9
4 changed files with 76 additions and 11 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue