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

TASK: Add CORS header configuration to nginx

parent d369698e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
    }