diff --git a/index.md b/index.md index 8bbb467..127684b 100644 --- a/index.md +++ b/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