From 89373dc69f04c0a53a8edb445ace15361d7d80aa Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Fri, 6 Sep 2019 00:47:32 -0300 Subject: [PATCH] fix regex bug --- tasks/location.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/location.yml b/tasks/location.yml index 7450b60..d7c2923 100644 --- a/tasks/location.yml +++ b/tasks/location.yml @@ -8,5 +8,5 @@ template: src: location.conf.j2 dest: "{{ nginx_location_mountpoint }}/{{ ng_domain_name }}/{{ - ng_location_name|regex_replace('[^0-9a-zA-Z_-.]','_') }}.conf" + ng_location_name|regex_replace('[^0-9a-zA-Z_.-]','_') }}.conf" notify: restart nginx container