Author: Robert Kaussow <mail@geeklabor.de>
Date:   Fri May 22 21:30:03 2020 +0200

    move maps to http context in nginx.conf
This commit is contained in:
Robert Kaussow 2020-05-22 19:32:45 +00:00
parent 2aabf8003e
commit e427215993

View File

@ -25,6 +25,7 @@ Setup [nginx](https://www.nginx.com/) webserver. Nginx is an open source reverse
* [nginx_gzip_types](#nginx-gzip-types)
* [nginx_hsts_options](#nginx-hsts-options)
* [nginx_keepalive_timeout](#nginx-keepalive-timeout)
* [nginx_maps](#nginx-maps)
* [nginx_official_repo_enabled](#nginx-official-repo-enabled)
* [nginx_reset_timedout_connection](#nginx-reset-timedout-connection)
* [nginx_send_timeout](#nginx-send-timeout)
@ -217,6 +218,25 @@ nginx_hsts_options:
nginx_keepalive_timeout: 65
```
### nginx_maps
#### Default value
```YAML
nginx_maps: []
```
#### Example usage
```YAML
nginx_maps:
- input: $input
output: $output
parameters:
- "default 0"
- "/old/path /new_path"
```
### nginx_official_repo_enabled
#### Default value
@ -410,12 +430,6 @@ nginx_vhosts_default:
dhparam:
client_max_body_size:
send_timeout:
maps:
- input: $input
output: $output
parameters:
- "default 0"
- "/old/path /new_path"
locations:
- match: /
root: /var/www/vhosts/default