Theturb 0 Posted October 8, 2021 Share Posted October 8, 2021 Hi, Now on DSM7, Emby work fine except https redirection. With DSM 6 a htaccess file on the root web folder worked perfectly and all connection http will automaticaly be redirected in https, but now with DSM 7 that's doesn't work. I just want to make http connection impossible and switch automatically in https like it was before with DSM6 with .htaccess like this : RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Is anybody have an idea to fix it on DSM 7 ? Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 8, 2021 Share Posted October 8, 2021 Hi, you should be able to just set this right in Emby on the network menu. Link to comment Share on other sites More sharing options...
Theturb 0 Posted October 8, 2021 Author Share Posted October 8, 2021 (edited) Thanks @cayarsbut On dsm6 I handled by reverse proxy and worked fine. I have change for required for all remote connection but it doesn't work with my lets encrypt synology certificat. Edited October 8, 2021 by Theturb Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 9, 2021 Share Posted October 9, 2021 Got ya. With the reverse proxy it will be a bit different. Link to comment Share on other sites More sharing options...
Theturb 0 Posted October 9, 2021 Author Share Posted October 9, 2021 (edited) yes, with dsm7 it seems that the web service is handled differently. I asked synology and I'm waiting for their response. If someone has an idea ? Edited October 9, 2021 by Theturb Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 9, 2021 Share Posted October 9, 2021 I guess the main question I have is why you're running Emby through their proxy service vs letting Emby's ports be available? On DSM7 for example my Emby Server ports are not going through any special Synology apps/services/firewall. So on my system I can change the option shown above in the pic and it controls this. Link to comment Share on other sites More sharing options...
Theturb 0 Posted October 9, 2021 Author Share Posted October 9, 2021 (edited) Yes but i don't know how to do this... I can't get a PKC#12 file with his password... I just have the let's encrypt certificat provided by my synology.me adress. Edited October 9, 2021 by Theturb Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 10, 2021 Share Posted October 10, 2021 I'm not positive of this as I don't use synology.me address so hopefully someone else can chime in. There are many ways that Emby can be setup on Synology so it's hard to talk in generalities. On my personal install I use my own domain name. I have this using port 443 so anyone just needs to open http://mydomain.ext and they hit my server. So in my case Emby has to be setup to use the pkc#12 cert for my domain which I control. If you are using synology.me and that's the way you want people to access your Emby server as well you will have to configure it this way and I believe set Emby to use a reverse proxy. Hopefully someone on here is using this exact setup and can comment on what is needed on DSM 7. Link to comment Share on other sites More sharing options...
Theturb 0 Posted October 10, 2021 Author Share Posted October 10, 2021 (edited) Thank you very much for your feedback. For now, i have redirected port 80 to 443 on my router. That's create an error asking to connect with https. Like that, the http connection is impossible. Edited October 10, 2021 by Theturb Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 10, 2021 Share Posted October 10, 2021 You might be better off using a nginx to handle this so that it sends back to the client SSL is needed. Link to comment Share on other sites More sharing options...
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