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