Role service-nginx-firmware: enable CORS
This commit is contained in:
parent
319944eecc
commit
ce2167d3b3
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,8 @@ server {
|
|||
listen [::]:443 ssl;
|
||||
server_name firmware.{{ http_domain_external }} firmware.{{ http_domain_internal }};
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
|
||||
charset utf-8;
|
||||
server_tokens off;
|
||||
|
||||
|
@ -58,6 +60,8 @@ server {
|
|||
listen [::]:443 ssl;
|
||||
server_name firmware.{{ mesh.http_domain_external }} firmware.{{ mesh.http_domain_internal }};
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
|
||||
charset utf-8;
|
||||
server_tokens off;
|
||||
|
||||
|
|
Loading…
Reference in a new issue