Author: Robert Kaussow <mail@geeklabor.de>
Date:   Mon May 25 11:22:18 2020 +0200

    use a list for nginx_error_location
This commit is contained in:
Robert Kaussow 2020-05-25 09:24:57 +00:00
parent 6ce2ee7c99
commit 718604f9eb
1 changed files with 10 additions and 4 deletions

View File

@ -137,14 +137,20 @@ nginx_csp_options:
Default error location. If set, the defined location will be automatically added once to every server block to handle custom error sites.
#### Default value
```YAML
nginx_error_location: []
```
#### Example usage
```YAML
nginx_error_location:
match: /
root: /var/www/vhosts/default
index: index.html
custom_options:
- match: /
root: /var/www/vhosts/default
index: index.html
custom_options:
```
### nginx_error_log