Commit 45f50fb0 authored by Dominique Feyer's avatar Dominique Feyer

TASK: Add CORS header configuration to nginx

parent d369698e
......@@ -5,6 +5,10 @@ server {
location / {
root /data;
index index.html;
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
gzip_static on;
brotli_static on;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment