1
0
Fork 0
mirror of https://github.com/demostf/setup synced 2026-06-04 00:54:07 +02:00

add cors for static demo hosting

This commit is contained in:
Robin Appelman 2017-04-13 14:19:57 +02:00
commit 7d575b0ffe

View file

@ -1,5 +1,8 @@
server {
listen 80;
server_name static.${HOST};
add_header 'Access-Control-Allow-Origin' '*';
root /demos;
}