New feature: redirect_https (HTTP -> HTTPS)

This commit is contained in:
Emilien Mantel
2016-03-14 19:20:08 +01:00
parent 3666b29184
commit 97aeda5678
3 changed files with 29 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ Common
- `redirect_from`: (O) Domain list to redirect to the first `name`. You can use this key to redirect non-www to www
- `redirect_to`: (O) Redirect all requests to this domain. Please set scheme (http:// or https:// or $sheme).
- `redirect_to_code`: Redirect code (default: 302)
- `redirect_https`: (O) Boolean. Redirect HTTP to HTTPS.
- `location`: (O) Add new custom locations (it does not overwrite!)
- `more`: (O) Add more custom infos.
- `upstream_params`: (O) Add upstream params (useful when you want to pass variables to PHP)