fix regex bug

This commit is contained in:
Mauro Torrez 2019-09-06 00:47:32 -03:00
parent 0022ab678c
commit 89373dc69f

View File

@ -8,5 +8,5 @@
template: template:
src: location.conf.j2 src: location.conf.j2
dest: "{{ nginx_location_mountpoint }}/{{ ng_domain_name }}/{{ 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 notify: restart nginx container