Openshift Port Magic

Add if to allow localhosting and hosting on openshift using http and
https