Jump to content

Error Accessing App


easez88
 Share

Go to solution Solved by Luke,

Recommended Posts

easez88

Hello,

 

I'm putting this in general because I don't know where it belongs. 

 

I cannot access emby from the IOS app remotely. Other apps, such as apple and android TV connect with no problem. I can connect through web browsers with no problem as well. So even though I am using nginx. I'm pretty sure that I'm missing something in my configuration, but I am not sure what it is. 

 

I also cannot access the app when I go to https://app.emby.media and enter my external domain. in the console I get the error "Access-Control-Allow-Origin cannot contain more than one origin" I also see this error if I click on the API button in the dashboard. 

 

Does anyone have any idea how to correct this?

Link to comment
Share on other sites

  • Solution

The answer will most likely be in your nginx configuration.

 

I would check out @@pir8radio's nginx configuration and compare it to yours. Please let us know if this helps. Thanks.

  • Like 1
Link to comment
Share on other sites

easez88

That's definitely it. I swapped out my nginx for his and it works perfectly. Now to figure out why. 

 

Edit:

Turns out I was missing these headers

add_header 'Referrer-Policy' 'origin-when-cross-origin';

add_header Strict-Transport-Security "max-age=15552000; preload" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
Edited by easez88
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...