Mattaton Posted January 31, 2023 Share Posted January 31, 2023 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! Link to comment
Solution ljm42 Posted January 31, 2023 Solution Share Posted January 31, 2023 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. Link to comment
Mattaton Posted January 31, 2023 Author Share Posted January 31, 2023 Yes, it's a reverse proxy setup. Everything seems to work fine, I just noticed the error with My Servers. Thanks! Link to comment
unraidyn Posted January 31, 2023 Share Posted January 31, 2023 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? Link to comment
ljm42 Posted January 31, 2023 Share Posted January 31, 2023 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. 4 1 2 Link to comment
unraidyn Posted January 31, 2023 Share Posted January 31, 2023 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! Link to comment
PaulLowe Posted April 18, 2023 Share Posted April 18, 2023 I very well could have missed it but has this been updated as of yet? Link to comment
ljm42 Posted April 25, 2023 Share Posted April 25, 2023 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 1 Link to comment
Soulplayer Posted June 27, 2023 Share Posted June 27, 2023 Has this feature been added yet? Link to comment
meunraid Posted July 3, 2023 Share Posted July 3, 2023 yeah this feature available yet? Link to comment
Stephan M. Posted July 19, 2023 Share Posted July 19, 2023 when will this Feature be awailable Link to comment
ljm42 Posted July 19, 2023 Share Posted July 19, 2023 We will definitely announce when this feature is available Link to comment
Recommended Posts