<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to set export CORS_ENABLED="true" export CORS_ORIGIN="https://github.io"]]></title><description><![CDATA[<p dir="auto">SO, I'm using this to host a nostr nip5 profile in a /public/.well-known/nostr.json file. When I check it with <a href="https://cors-test.codehappy.dev/" target="_blank" rel="noopener noreferrer nofollow ugc">https://cors-test.codehappy.dev/</a> to see if CORS setup is right, it fails and won't work with CORS.</p>
<p dir="auto">SO, I have to set the <code>access-control-allow-origin</code> header set to <code>*</code>. How do I do that in this app?? I need to edit an nginx config file or something. So to make the weird title make sense:</p>
<pre><code>export CORS_ENABLED="true" 
export CORS_ORIGIN="*"
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/15843/how-to-set-export-cors_enabled-true-export-cors_origin-https-github.io</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 14:16:10 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15843.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Aug 2026 21:35:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to set export CORS_ENABLED="true" export CORS_ORIGIN="https://github.io" on Thu, 20 Aug 2026 08:04:58 GMT]]></title><description><![CDATA[<p dir="auto">Not sure I fully understand the target setup you intend to have. But to enable CORS on the github pages app is only really useful if some code running in another domain would call the REST API of the github pages app, which I am not sure it even has. But I might be misunderstanding here.</p>
<p dir="auto">If CORS is indeed needed, then the app coder (github pages) would need to support responding those pre-flight OPTIONS check queries by the browser.</p>
]]></description><link>https://forum.cloudron.io/post/128342</link><guid isPermaLink="true">https://forum.cloudron.io/post/128342</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 20 Aug 2026 08:04:58 GMT</pubDate></item></channel></rss>