commit 02c8e0a745
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:
parent
2aabf8003e
commit
e427215993
26
index.md
26
index.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user