Jump to content

Disable public http access


iissmart

Recommended Posts

iissmart

I would like to disable public http access, and only allow public https access. I tried setting the "Secure Connection Mode" to "Required for all remote connections", but http://app.emby.media still connects to my server unencrypted.

 

Basically, I don't want a public http port. Can I set it to 0 to disable it and prevent it from setting up a upnp rule for public http access?

Edited by iissmart
Link to comment
Share on other sites

iissmart

Yep, I already use Let's Encrypt for my website on the same server so I just needed to convert it to a pfx file for Emby to use.

 

Outside my network I can access my emby server with https://example.com:8920, https://app.emby.media, and http://app.emby.media. I'm looking to disable the last one.

 

Inside my network I can access my emby server with https://<local ip>:8920 with a certificate warning (because it's not using the domain name), http://<local ip>:8096 and http://app.emby.media. I can't access it with https://example.com:8920 or https://app.emby.media inside my network, so I'd like to keep local http access available, unless you can help me get local https access with the domain name working as well!

Edited by iissmart
Link to comment
Share on other sites

Does your server dashboard display the https url as your remote address?

Link to comment
Share on other sites

  • 7 months later...
Happy2Play

There currently is no way to disable or auto redirect physical connections to online app.

http:\\app.emby.media

Users have to physically go to

https:\\app.emby.media
Link to comment
Share on other sites

Happy2Play

Thanks for fast answers

 

For auto redirect, it's works fine :   http://mysubdomainename.com ==> autoredirect to https://mysubdomainename.com

But users can force http by this way http://mysubdomainename.com:8096 then they can log without ssl

 

(Openmediavault + duckdns + letsencrypt)

Well all you have to do is not forward port 8096.

Link to comment
Share on other sites

If I disable forwarding 8096 from my rooter, I got 502 Bad gateway (nginx/1.16.1)

 

 

Maybe should I edit emby.subdomain.conf

Edited by Hetimop
Link to comment
Share on other sites

Everything works perfectly ==> I've restart everything and followed this videos 

 

+

So it's solved for me thanks.

Edited by Hetimop
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
×
×
  • Create New...