CORS and ALLOWED_ORIGINS for Unraid web interface


Recommended Posts

I am trying to get a Cloudflare/argo tunnels setup with Unraid itself. It work fine for my dockers etc btw, this is just the unpaid web interface I am struggling with. All incoming requests go to swag and I have nginx setup correctly for the web socket bits. It kind of works but web sockets isn't working and I get CORS errors because https://myservername.mydomain.com isn't in the list of ALLOWED_ORIGINS if I do a "unpaid-api report -vv" on the console. If I change the TLD under the mgmt access page then I can get the http version in there but not https. Is there a way to just manually edit that list of allowed origins? Is it in a config file anywhere?

Edited by planetwilson
clarification
  • Upvote 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.