added support for includes and auths, extended docu
This commit is contained in:
parent
b1b10fad9b
commit
1ec6fbb1fd
8 changed files with 58 additions and 7 deletions
25
README.md
25
README.md
|
|
@ -23,6 +23,9 @@ upstreams: {}
|
|||
# name: *vhostconfig*, see below for definition
|
||||
vhosts: {}
|
||||
|
||||
# name: *mapsconfig*, see below for definition
|
||||
maps: {}
|
||||
|
||||
# force all traffic on ssl, except letsencrypt challenges
|
||||
force_ssl: True
|
||||
|
||||
|
|
@ -76,6 +79,12 @@ custom: []
|
|||
# array of locations, see below
|
||||
locations: [*locationconfig*, .. ]
|
||||
|
||||
# array of files to include at the server level
|
||||
includes: []
|
||||
|
||||
# configure authentication, disabled by default. See *authconfig* below for definition
|
||||
auth: *authconfig*
|
||||
|
||||
# array of headers to add on this vhost
|
||||
add_headers: []
|
||||
```
|
||||
|
|
@ -89,6 +98,22 @@ match: ''
|
|||
alias: None
|
||||
```
|
||||
|
||||
**authconfig**
|
||||
```
|
||||
# Boolean: enable authentication
|
||||
enabled: False
|
||||
|
||||
# Path to a htpasswd file
|
||||
path :''
|
||||
|
||||
# can be 'all' or 'any'
|
||||
satisfy: 'all
|
||||
```
|
||||
|
||||
**mapsconfig**:
|
||||
```
|
||||
```
|
||||
|
||||
**phpconfog**:
|
||||
```
|
||||
ini:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue