toomuchio / plex-nginx-reverseproxy

Configuration to serve Plex Media Center https://plex.tv using Nginx https://nginx.com
662 stars 94 forks source link

allowLocalhostOnly no longer exists #35

Closed zmike808 closed 6 years ago

zmike808 commented 6 years ago

allowLocalhostOnly no longer exists as a plex option. Trying to set this in Preferences.xml will result in plex failing to start. Which is a shame, since it would have been a nice and convenient alternative to iptables/UFW =(

camjac251 commented 6 years ago

Are you sure? For me it worked not long ago on linux. Would you mind posting an example of how your Preferences.xml looked? What OS did you use?

ghost commented 6 years ago

I did a fresh install of PMS (1.13.1.5063) on linux and the Preferences.xml file does not have an entry for allowLocalhostOnly.

It seems to have been removed from the wiki: https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

camjac251 commented 6 years ago

It does not exist in the advanced hidden server settings help page, you must add it yourself to the Preferences.xml.

You must add allowLocalhostOnly="1" to your Preferences.xml in order for it to work correctly.

So something like this <Preferences allowLocalhostOnly="1" ManualPortMappingMode="1"...

ghost commented 6 years ago

So something like this <Preferences allowLocalhostOnly="1" ManualPortMappingMode="1"...

Thanks for the clarification. This worked.