CodiMD: allow cors for origin stuebinm.4future.dev (a:f cluster site)

Allow cors, so that the about:future cluster site can fetch its content from a codimd pad
(which is currently a preview at https://stuebinm.4future.dev/about-future-website/ but will
be moved to a better position once there's a domain for that).
This commit is contained in:
Matthias Stübinger 2020-12-04 20:18:08 +01:00
parent cce3bb9633
commit 08f10cfa00

View file

@ -72,6 +72,7 @@
proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_add_header Access-Control-Allow-Origin "https://stuebinm.4future.de";
proxy_buffering off; proxy_buffering off;
''; '';
}; };