ADD: manage conf.d and include.d

This commit is contained in:
Marek Sirovy 2023-02-03 10:39:57 +00:00
parent 7262b39e9c
commit dd90997e00
1 changed files with 9 additions and 0 deletions

View File

@ -115,3 +115,12 @@ nginx_conf_d:
'"upstream_response_time": "$upstream_response_time", '
'"upstream_connect_time": "$upstream_connect_time", '
'"referer": "$http_referer"}';
nginx_include_path: /etc/nginx/include.d
nginx_include_d:
- file_name: deny_htaccess.conf
content: |
location ~ /\.ht {
deny all;
}