How to update ALLOWED_ORIGINS


Go to solution Solved by ljm42,

Recommended Posts

  • 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.

Link to comment
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
  • 2 months later...
  • 2 months later...
  • 3 weeks later...