nunuxx 7 Posted July 8, 2023 Posted July 8, 2023 Hi, I'm using Emby into my MAIN server, everything work fine. Then I add a "proxy_pass (nginx) server" located another country to handle all my service from my MAIN server, everything work fine too here is my nginx "proxy_pass server" config : server_name emby.proxypass.com; location / { proxy_pass https://emby.mainserver.net:8920; sub_filter 'https://emby.mainserver.net' 'https://emby.proxypass.com'; sub_filter_once off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } Problem is : I add my main server to EMBY > emby.mainserver.net > All is OKAY I add my proxy_pass server to EMBY > emby.proxypass.com > not OKAY > The server added, but when I close the app and restart it's still show the MAIN server ------------------------------- Do I need to add "emby.proxypass.com" to my emby settings ? Here is what I did : Can I add comma et add my proxy_pass server ? But what about the SSL certificate (I can only put ONE) Have you got some ideas to help ? thank you
Luke 42077 Posted July 8, 2023 Posted July 8, 2023 Hi, yea you can't use two with a comma, it will only accept one. Why not just put the proxy pass one there if that's what you want?
BobbyCR 13 Posted July 9, 2023 Posted July 9, 2023 If you need to have 2 different DNS domain names going to the same emby server, you need to do that at Apache level if you're using apache. you can set virtual hosts and have both of them redicted to the emby main DNS.
nunux 0 Posted July 14, 2023 Posted July 14, 2023 On 7/9/2023 at 4:51 AM, BobbyCR said: If you need to have 2 different DNS domain names going to the same emby server, you need to do that at Apache level if you're using apache. you can set virtual hosts and have both of them redicted to the emby main DNS. I'm using nginx, have you got any tips to do it please?
Neminem 1518 Posted July 14, 2023 Posted July 14, 2023 Hmmm you could from nginx point both domains to you emby server.
Q-Droid 989 Posted July 14, 2023 Posted July 14, 2023 I think the issue for the OP is not the multiple domains as server entry points but that the Emby server itself only supports one domain to announce to apps. So when the app requests the server connection settings from Emby it can only provide the one domain specified. This is not a problem with browser connections. - App connects to Emby using given xyz domain. - App works with xyz but still requests connect info from server. - Server sends abc domain from settings. - Next time app opens it uses abc domain sent by Emby server. Header rewrites can often help but in this case it's not headers but response data which contains the server connection info going back to the apps. I don't know if there's a simple way to translate that info using the web server/proxies.
Neminem 1518 Posted July 14, 2023 Posted July 14, 2023 Is that the case if you set Network -> Secure connection mode -> Handled by reverse proxy ? Tbh I have not testet it.
nunuxx 7 Posted October 25, 2023 Author Posted October 25, 2023 (edited) Hi to everyone @jaycedk @Luke @Q-Droid@BobbyCR This is what I did : Install Emby into main server (already did) and use files from this server > works fine, no problem Then I installed Emby into my CDN server and use NFS mount from my main server Everything works, BUT : Scan Media Library on my CDN server is very SLOW (about 1 hour VS few minuts on my main server) The CDN server is a 8 vcpu / 16gb RAM / nvme disk (no load on it) I tried many things into my NFS mount (async, ro (read only), no_subtree_check) without success : the scan take 1 hour ... Is there a way to fluidify this scan ? Edited October 25, 2023 by nunuxx
Luke 42077 Posted October 25, 2023 Posted October 25, 2023 Scan performance should be improved in the upcoming 4.8 server release. General advice that applies to all server versions is to review any third party plugins that you've installed or library options that you've enabled, because all of those things come with a cost that affect library scan time.
nunuxx 7 Posted December 19, 2023 Author Posted December 19, 2023 On 10/25/2023 at 8:55 PM, Luke said: Scan performance should be improved in the upcoming 4.8 server release. General advice that applies to all server versions is to review any third party plugins that you've installed or library options that you've enabled, because all of those things come with a cost that affect library scan time. Jellyfin FAQ talk about .NET locking : Quote NFS In case you encounter performance issues where files take a long time to start playing while using NFSv3, you might be running in an issue with .NET locking without NFSv3 having locking enabled. To solve this, you have the following options: Disable .NET locking using DOTNET_SYSTEM_IO_DISABLEFILELOCKING (introduced in .NET 6). Disable locking for the mount using the nolock option. Enable the lock service. Use NFSv4 which has built-in lock support. Is it same issue here?
Luke 42077 Posted December 19, 2023 Posted December 19, 2023 25 minutes ago, nunuxx said: Jellyfin FAQ talk about .NET locking : Is it same issue here? What we've done in 4.8 is remove a lot of unnecessary file I/O operations, and that will improve performance. To improve performance further you could try this locking change but it's not something we've tested. 1
AWG97 2 Posted November 21, 2025 Posted November 21, 2025 On 7/9/2023 at 1:39 AM, Luke said: Hi, yea you can't use two with a comma, it will only accept one. Why not just put the proxy pass one there if that's what you want? Is this still the case? Here's my use case: I have 2 pangolin instances running in different geographic locatons pointing to the same emby server. Each pangolin instance is geoblocked to its respective region. When a user connects via emby connect, it chooses the one that can successfully connect. I have this setup working successfully with Plex, and would love to have this on Emby as well.
AWG97 2 Posted November 30, 2025 Posted November 30, 2025 On 11/22/2025 at 1:09 AM, Luke said: Hi, yes it is still true. Is it something you would consider adding? (Ability to provide multiple Remote (WAN) access addresses)
AWG97 2 Posted January 19 Posted January 19 On 12/1/2025 at 2:59 AM, AWG97 said: Is it something you would consider adding? (Ability to provide multiple Remote (WAN) access addresses) @Lukecould you please confirm? The current option is to run 2 different Emby servers, but I'd much rather have the option to provide 2 different domains.
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