January 31, 20233 yr Where do I go to update ALLOWED_ORIGINS? I'm getting a CORS error saying the url I'm using to access my server is violating policy since it isn't in the ALLOWED_ORIGINS list. Thanks!
January 31, 20233 yr Solution Are you using a reverse proxy? We will be adding support for adding reverse proxy urls to allowed origins in a future update. If you aren't using a reverse proxy then you may just need to adjust your servername and Local TLD settings so the urls match.
January 31, 20233 yr Author Yes, it's a reverse proxy setup. Everything seems to work fine, I just noticed the error with My Servers. Thanks!
January 31, 20233 yr Quote We will be adding support for adding reverse proxy urls to allowed origins in a future update. Super, I've just come across this issue too, and I think I'll have to wait for that update to resolve my issue. In my use case, the local TLD is correct, as is the hostname, but as I'm using a different port to access Unraid (as port 80/443 is being used by the reverse proxy itself) Unraid throws the following error: Quote Warning Your current url unraid.internal.example.com is not in the list of allowed origins for this server. For best results, use one of these urls: http://unraid.internal.example.com:8080 http://10.10.10.10:8080 http://unraid:8080 In which I understand why its doing that, but obviously I can never resolve that issue without having some manual control over the allowed origins list, or supporting reverse proxies. Which I take it will be resolved in that future update regarding custom allowed origins?
January 31, 20233 yr Right, the port is part of the allowed origin check so it is currently blocked. In a future update you will be able to custom urls (including ports) to the list of allowed origins.
January 31, 20233 yr 29 minutes ago, ljm42 said: Right, the port is part of the allowed origin check so it is currently blocked. In a future update you will be able to custom urls (including ports) to the list of allowed origins. Super, thanks!
April 25, 20233 yr This particular feature has not yet been released, but head over to the Plugins tab and check for updates as we have made a major release: https://forums.unraid.net/topic/138392-unraid-connect-plugin-announcements/#comment-1255739
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.