Add custom headers in vhost (moved from ssl helpers)

This commit is contained in:
Emilien Mantel
2016-03-15 10:51:14 +01:00
parent d223f8b144
commit 2ba906be2e
5 changed files with 11 additions and 5 deletions

View File

@@ -15,6 +15,7 @@ Common
- `delete`: (O) Delete the vhost (default is false)
- `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).
- `headers`: (O) Set additionals header as key/value list.
- `redirect_to_code`: Redirect code (default: 302)
- `redirect_https`: (O) Boolean. Redirect HTTP to HTTPS. If "true", you _MUST_ set `proto` to ```['https']```.
- `location`: (O) Add new custom locations (it does not overwrite!)