expose
expose copied to clipboard
Add SSL option for clients to allow non-standard port options
This Pull Request allows a user to configure the option ssl to enforce use of SSL or no SSL within the tunnel
It was made in such a way that the default of null will retain the current logic that expose uses which is port === 443
It is useful if you want to host expose on something other than port 443 while still using SSL.
Something else that could be added is warning a user if they use 'ssl' => false, 'port' => 443 as most browsers will reject this
My git skills failed me on #89 so I recreated the commits.