Locked myself out with secure connection set to required

Just Installed the latest version.
This particular server is hosted on a VPS but it’s gonna be accessed only via VPN and I don’t want it to be routed outside of it, so as soon as I installed it and run the webinstaller with my login I put it back behind the vpn/firewall, didn’t really care that remote access was disabled, never logged in via plex.tv and I was happily using it via VPN connection on an internal IP with my own internal DNS.

problem is by mistake I’ve set secure connection to “required” without providing any certificates so now all my connection to it reset, including my phone and plex.tv, any way I can reset that option via a config file? which one? where?

replying to myself because I just found it.
in my system it was in

/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Preferences.xml

there’s the config file with the option, set it to 1 and it’s “preferred”