Skip to content

Commit e8bc926

Browse files
authored
Fix App Protect template import (#35)
1 parent 131d4f3 commit e8bc926

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ ENHANCEMENTS:
1515
BUG FIXES:
1616

1717
* Prevent TravisCI from trying to build (and failing) NGINX Plus images on external PRs.
18-
* Fix naming for SELinux facts dict.
18+
* Fix naming for SELinux Ansible facts.
19+
* Correctly import `app_protect` global directives in template.
1920

2021
## 0.2.0 (September 24, 2020)
2122

templates/nginx.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ http {
3737
include /etc/nginx/mime.types;
3838
default_type application/octet-stream;
3939

40-
{% if nginx_config_main_template.http_settings.app_protect is defined %}
40+
{% if nginx_config_main_template.http_settings.app_protect_global is defined %}
4141
{% from 'http/app_protect.j2' import app_protect_global with context %}
4242
{% filter indent(4) %}
4343
{{ app_protect_global(nginx_config_main_template.http_settings.app_protect_global) }}

0 commit comments

Comments
 (0)