whoami

Changed files
+11
site
whoami
+11
site/whoami/index.php
···
+
<?php
+
+
// i literally just set a custom header in my reverse proxy
+
// that maps to the remote ip
+
// so i could do this with a PHP page in docker
+
+
$remoteip = $_SERVER['HTTP_X_GOTM_REMOTE_IP'];
+
+
?>
+
+
<?php echo $remoteip ?>