redirect
少于1分钟
Redirect
HTTPS Redirect
HTTPS redirect middleware redirects http requests to https. For example, http://labstack.com will be redirected to https://labstack.com.
Usage
|
|
HTTPS WWW Redirect
HTTPS WWW redirect redirects http requests to www https. For example, http://labstack.com will be redirected to https://www.labstack.com.
Usage
|
|
HTTPS NonWWW Redirect
HTTPS NonWWW redirect redirects http requests to https non www. For example, http://www.labstack.com will be redirect to https://labstack.com.
Usage
|
|
WWW Redirect
WWW redirect redirects non www requests to www.
For example, http://labstack.com will be redirected to http://www.labstack.com.
Usage
|
|
NonWWW Redirect
NonWWW redirect redirects www requests to non www. For example, http://www.labstack.com will be redirected to http://labstack.com.
Usage
|
|
Custom Configuration
Usage
|
|
Example above will redirect the request HTTP to HTTPS with status code 307 - StatusTemporaryRedirect
.
Configuration
|
|
Default Configuration*
|
|