phpipam has support for ssl offloading, via X-Forwarded-For header .
public function createURL () {
# reset url for base
if($_SERVER['SERVER_PORT'] == "443") { $url = "https://$_SERVER[HTTP_HOST]"; }
// reverse proxy doing SSL offloading
elseif(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') { $url = "https://$_SERVER[SERVER_NAME]"; }
elseif(isset($_SERVER['HTTP_X_SECURE_REQUEST']) && $_SERVER['HTTP_X_SECURE_REQUEST'] == 'true') { $url = "https://$_SERVER[SERVER_NAME]"; }
// custom port
elseif($_SERVER['SERVER_PORT']!="80") { $url = "http://$_SERVER[SERVER_NAME]:$_SERVER[SERVER_PORT]"; }
// normal http
Unfortunately, some don't follow this or have been configured for this, which results in phpipam loading incorrectly. To workaround this issue, edit config.php
$_SERVER['HTTP_X_FORWARDED_PROTO'] = "https";
And now, back to life.

