Hi, what is advisable to do to set up a simple file server with CORS support? Thanks in advance
ruiorey we don't have any configurable options for our built-in Nginx static apps at this time.
If you need this capability, then you can either:
sean I assume adding custom CORS configuration is also not supported for a Proxy server?
HisWatchIsEnded what sort of proxy server do you want to run?
Sorry, I misspoke - I have a proxy port app running on opal8 - not proxy server. I expect there is no custom .htaccess support for proxy port apps.
HisWatchIsEnded a proxy port app is just a port assignment that you can use with any backend server that you want to run. What type of application are you running on your assigned port?
sean It's a node application.
HisWatchIsEnded Ok, right - you won't be able to use .htaccess to configure CORS on a Node app.
If you're using Express as your Node framework then you might be able to use this CORS middleware.