added support for includes and auths, extended docu

This commit is contained in:
nd 2020-04-18 22:29:15 +02:00
parent b1b10fad9b
commit 1ec6fbb1fd
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
8 changed files with 58 additions and 7 deletions

View file

@ -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: