forked from ISTI-ansible-roles/ansible-roles
Fix a typo in the nginx CORS snippet.
This commit is contained in:
parent
db61e24d4e
commit
ee0c922ddf
|
@ -20,7 +20,7 @@ if ($request_method = 'OPTIONS') {
|
||||||
}
|
}
|
||||||
if ($request_method = 'POST') {
|
if ($request_method = 'POST') {
|
||||||
{% if nginx_cors_limit_origin %}
|
{% if nginx_cors_limit_origin %}
|
||||||
add_header 'Access-Control-Allow-Origin' "${{ nginx_cors_acl_origin }}";
|
add_header 'Access-Control-Allow-Origin' "{{ nginx_cors_acl_origin }}";
|
||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
{% else %}
|
{% else %}
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
|
|
Loading…
Reference in New Issue