apache or nginx redirect Page 2

Status
Not open for further replies.

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
Hi I would like to know whether Plex Media Server can be installed inside the jail with apache to redirect, the port from 32400 to 443 (along with https) and if it is impossible then add the port to my domain automatically. (Hope I'm clear)

Thanks Itay
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
add the port to my domain automatically
You mean have somthing.com point to somthing.com:32400? you would need use Apache to redirect... Alternatively, you could run Plex as root. Or if you need outside access you could use port redirection with your port forward.
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
you could run Plex as root
What do you mean run Plex as root

use port redirection with your port forward.
I thought about it but problematic because I use Port 443 to Nextcloud. So that's why i wanted to use apache for when i enter in to my domain (in the case of plex i have subdomain) then it will direct me to the required port
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
So in short you want both Nextcloud and Plex on 443 from outside of your home?
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
So in short you want both Nextcloud and Plex on 443 from outside of your home?
Yes NextCloud will remain as it is at 443. And plex i can change the port through the router when it comes out from the network but what i want to do is that it will add to the subdomain of the plex port automatically because of this i want to install plex with apache
Or if there is a possibility to do it through the jail of nextcloud? (The nextcloud is the primary domain)

NextCloud - nextcloud.exmple.com
plex - plex.nextcloud.exmple.com
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
nextcloud.exmple.com = Your router
plex.nextcloud.exmple.com = Your router
There is no difference without working up the OSI model and looking at HTTP headers. That means an http proxy and that will likely break Plex. You should just use the port number. Maybe 4443 or 4433 would be easier to remember?
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
nextcloud.exmple.com = Your router
plex.nextcloud.exmple.com = Your router
There is no difference without working up the OSI model and looking at HTTP headers. That means an http proxy and that will likely break Plex. You should just use the port number. Maybe 4443 or 4433 would be easier to remember?
I thought that's what you'd say if I tried to put some type of http proxy then the plex would break
It really sucks that you have to put the port yourself

Most problematic here I thought that if I can set up Plex with apache then I can also solve the problem that it does not redirect to https automatically

I personally have no problem with the ports. There are just a few other people who use this plex and I thought there might be a way to make life easier and that they would redirect to port and redirect to https

Bummer this the way the plex is built

But thanks anyway for the help
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
does not redirect to https automatically
Hmm I thought there was an option for this... It might be broken along with a number of other annoying things in Plex...
You can always get a second public IP. You might need to upgrade your router to support something like that though.
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
Hmm I thought there was an option for this
There is something similar to that in plex settings
There is a button there that just eliminates all the connections and entries of http but the strange thing is that it does not redirect to an automatic https that is really dumb

You can always get a second public IP. You might need to upgrade your router to support something like that though.
A month ago I bought a new Router and I think he supports it. But I have to pay ISP a lot of money in addition to what I pay them now for it to work
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
But I have to pay ISP a lot of money in addition to what I pay them now for it to work
Yeah it's usually about $15 per month.
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
Yeah it's usually about $15 per month.
Maybe in the US this is not the case in Israel

In Israel you have to switch to a business account which is about $ 55 and if I want to add another IP then I must add another $ 11
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Screw ISPs
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
So I want to close the subject

So you say that if I try to do http proxy in nginx or apache plex will stop working?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
You can try it but I would be surprised if it worked.
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
Now I saw that there was a guide in it at ubuntu
You can try it but I would be surprised if it worked.


And I tried it today. Before I opened
The Thread and it did not work I opened it worthwhile that someone might tell me I did something wrong
But apparently there is no option in FreeBSD
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
Given that Plex pretty much forces you to connect using plex.tv, why just not open up a port on your router and forward it to the Plex jail? You can specify the ports in the Plex setup, so can find something obscure and Plex has some SSL stuff built in. You can then leave Nextcloud connecting on 443.

I've switched to emby for this very reason, as I don't see why I need to connect via plex.tv, especially within my own LAN. I've got a NGINX reverse proxy jail running so everything connects via HTTPS though that and is redirected to the appropriate jail.
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
Given that Plex pretty much forces you to connect using plex.tv, why just not open up a port on your router and forward it to the Plex jail? You can specify the ports in the Plex setup, so can find something obscure and Plex has some SSL stuff built in. You can then leave Nextcloud connecting on 443.

I've switched to emby for this very reason, as I don't see why I need to connect via plex.tv, especially within my own LAN. I've got a NGINX reverse proxy jail running so everything connects via HTTPS though that and is redirected to the appropriate jail.

You're really right I also asked them in their forum why I need to login through plex.tv and then just redirect to my domain and did not actually get a direct answer
I've switched to emby


and what is this?
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
emby is like Plex. Plex does some things better, but so does emby. The main one is that I can connect directly to my server without going through any other services, as can any of my friends and family who have access.
 

Itay1778

Patron
Joined
Jan 29, 2018
Messages
269
emby is like Plex. Plex does some things better, but so does emby. The main one is that I can connect directly to my server without going through any other services, as can any of my friends and family who have access.
Some things that are important to me that were there
Is there an option for subtitles mainly for SRT?
And option for separate accounts?
 
Status
Not open for further replies.
Top