diff --git a/index.md b/index.md index fd08923..da6a940 100644 --- a/index.md +++ b/index.md @@ -17,6 +17,7 @@ Setup [nginx](https://www.nginx.com/) webserver. Nginx is an open source reverse * [nginx_csp_enabled](#nginx-csp-enabled) * [nginx_csp_options](#nginx-csp-options) * [nginx_error_log](#nginx-error-log) + * [nginx_error_page](#nginx-error-page) * [nginx_group](#nginx-group) * [nginx_gzip_comp_level](#nginx-gzip-comp-level) * [nginx_gzip_enabled](#nginx-gzip-enabled) @@ -142,6 +143,20 @@ nginx_error_log: level: error ``` +### nginx_error_page + +#### Default value + +```YAML +nginx_error_page: [] +``` + +#### Example usage + +```YAML + +``` + ### nginx_group #### Default value @@ -409,6 +424,10 @@ nginx_vhosts_default: - match: / root: /var/www/vhosts/default index: index.html + - match: /50x.html + root: /usr/share/nginx/html + custom_options: + - error_page 500 502 503 504 /50x.html ``` #### Example usage @@ -444,7 +463,6 @@ nginx_vhosts_default: proxy_intercept_errors: "off" custom_options: - 'deny: all' - error_page: /usr/share/nginx/html ``` ### nginx_vhosts_dir