jonathan.gorbutt 6 Posted December 29, 2019 Posted December 29, 2019 Hi, So I have my reverse proxy working I can access Emby just fine. but when it comes to configure Trakt for example I don't see anything in the drop down menu for my users? unless I go in via the local IP? Do I need to change something to make this working behind the reverse proxy? Many Thanks -Jonathan
jonathan.gorbutt 6 Posted December 29, 2019 Author Posted December 29, 2019 Hey, I am using NginxProxyManager
Luke 42079 Posted December 30, 2019 Posted December 30, 2019 I would suggest comparing your configuration to @@pir8radio's If i had to guess what the problem is, I bet the Trakt config page has some embedded javascript that is being blocked by the CSP being set by the proxy. The core web app cleaned up all of this a long time ago, but there might still be some plugins doing that.
jonathan.gorbutt 6 Posted December 30, 2019 Author Posted December 30, 2019 My configuration is nothing like that... NGINXProxyManager takes all that jazz out you literally just choose your sub domain and point it to your local IP and boom... done.. its a easy creates the SSL cert for you... there is no config like that...
Solution jonathan.gorbutt 6 Posted December 30, 2019 Author Solution Posted December 30, 2019 Thanks for the responses managed to figure it out my CNAMES in Cloudflare, were set to Proxy setting it to DNS only seemed to fix the issue 1
pir8radio 1312 Posted January 1, 2020 Posted January 1, 2020 Thanks for the responses managed to figure it out my CNAMES in Cloudflare, were set to Proxy setting it to DNS only seemed to fix the issue You might as well skip using cloudflare then, you are bypassing everything it does.
KMBanana 116 Posted January 1, 2020 Posted January 1, 2020 Cloudflare is still nice to use since it supports both dynamic dns and dns based cert verification for letsencrypt.
jonathan.gorbutt 6 Posted January 2, 2020 Author Posted January 2, 2020 So managed to figure out the issue, I must of enabled something in Cloudflares Dash before to try something because turning off Rocket Loader in there dash seemed to allow me to edit the trakt Plugin while still proxying through cloudflare.
pir8radio 1312 Posted January 2, 2020 Posted January 2, 2020 So managed to figure out the issue, I must of enabled something in Cloudflares Dash before to try something because turning off Rocket Loader in there dash seemed to allow me to edit the trakt Plugin while still proxying through cloudflare. Yes, I have a cloudflare post on here somewhere... Shut off the minification and rocket loader stuff... There are also some tips to properly cache images, by default cloudflare doesn't cache like 90% of emby images.
jonathan.gorbutt 6 Posted January 3, 2020 Author Posted January 3, 2020 @pir9radio any chance you can link me to that thread? I've tried looking for it but cant find it... I've tried setting this up myself but want to compare to your guide on the images. Sorry for been a pain.
BAlGaInTl 288 Posted January 3, 2020 Posted January 3, 2020 (edited) Yes, I have a cloudflare post on here somewhere... Shut off the minification and rocket loader stuff... There are also some tips to properly cache images, by default cloudflare doesn't cache like 90% of emby images. @pir9radio any chance you can link me to that thread? I've tried looking for it but cant find it... I've tried setting this up myself but want to compare to your guide on the images. Sorry for been a pain. I'm in the same boat. Cloudflare is caching almost nothing for me. So far I've not been successful in finding the solution. I would love some help. ETA: Here are my current Page Rules that I found from a tutorial somewhere *domain.net/* Edge Cache TTL: Custom 2419200 seconds and *domain.net/emby/item/*/images/* Cache Level: Cache Everything, Edge Cache TTL: Custom 2419200 seconds Edited January 3, 2020 by BAlGaInTl
BAlGaInTl 288 Posted January 3, 2020 Posted January 3, 2020 Something just occurred to me. I wonder if it's because I'm saving my images with the media rather than the default? Maybe the paths are different for the files I need to cache. I'll have to investigate this later.
jonathan.gorbutt 6 Posted January 3, 2020 Author Posted January 3, 2020 To be honest, I have mine as default and it doesn't seem to be caching either... but Its only me that looks at Emby at the moment, I haven't made the switch yet... just getting everything working the way I like first and tinkering.
BAlGaInTl 288 Posted January 3, 2020 Posted January 3, 2020 To be honest, I have mine as default and it doesn't seem to be caching either... but Its only me that looks at Emby at the moment, I haven't made the switch yet... just getting everything working the way I like first and tinkering. Have you set the page rules I have listed above?
BAlGaInTl 288 Posted January 3, 2020 Posted January 3, 2020 (edited) To be honest, I have mine as default and it doesn't seem to be caching either... but Its only me that looks at Emby at the moment, I haven't made the switch yet... just getting everything working the way I like first and tinkering. I don't remember where I found that original guide for caching images at Cloudflare... but I just dug a little deeper, and it looks like there may be a typo in the Page Rules that I have. It looks like *domain.net/emby/item/*/images/* should be *domain.net/emby/items/*/images/* I figured this out by working with the developer tools in my browser. I've changed mine and we will see what happens. Edited January 3, 2020 by BAlGaInTl
Spaceboy 2573 Posted January 4, 2020 Posted January 4, 2020 Personally I wouldn't bother with any image caching at cloudflare. that only brought problems. the benefit is not significant anyway
pir8radio 1312 Posted January 4, 2020 Posted January 4, 2020 I don't remember where I found that original guide for caching images at Cloudflare... but I just dug a little deeper, and it looks like there may be a typo in the Page Rules that I have. It looks like *domain.net/emby/item/*/images/* should be *domain.net/emby/items/*/images/* I figured this out by working with the developer tools in my browser. I've changed mine and we will see what happens. You are correct it should be "ITEMS" Personally I wouldn't bother with any image caching at cloudflare. that only brought problems. the benefit is not significant anyway It speeds up my server, due to needing to "hit" my emby/nginx server less. Every background image, actor image, movie poster, icon, channel logo, is cached on the edge servers closest to the end user, gui response time is noticeably faster, less hits on my server, less calls to make that have longer delays (more hops to my server vs the CDN Edge servers). I have not had any stale image issues CF seems to update the cache if the image changes. I've been pretty happy with it.
Spaceboy 2573 Posted January 4, 2020 Posted January 4, 2020 You are correct it should be "ITEMS" It speeds up my server, due to needing to "hit" my emby/nginx server less. Every background image, actor image, movie poster, icon, channel logo, is cached on the edge servers closest to the end user, gui response time is noticeably faster, less hits on my server, less calls to make that have longer delays (more hops to my server vs the CDN Edge servers). I have not had any stale image issues CF seems to update the cache if the image changes. I've been pretty happy with it. ive had issues with it in the past and the files it is caching are tiny. Not with emby so I may look at switching back on just for emby but the gains are still marginal imo
BAlGaInTl 288 Posted January 4, 2020 Posted January 4, 2020 ive had issues with it in the past and the files it is caching are tiny. Not with emby so I may look at switching back on just for emby but the gains are still marginal imo The caching is just a bonus to the other features I get -DDoS Protection -Long Certificate -IP Masking -Firewall to block non-US traffic
Spaceboy 2573 Posted January 4, 2020 Posted January 4, 2020 The caching is just a bonus to the other features I get -DDoS Protection -Long Certificate -IP Masking -Firewall to block non-US traffic yeah I’ve been using cloudflare for years. No need to sell me the benefits[emoji3] Ok I’ll be specific. The caching in cloudflare caused me issues with updates to sonarr, which also runs behind my reverse proxy. It was caching and only ever displaying a page saying I needed to update sonarr making it inoperable, since then I’ve had caching off
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now