health.php 374 B

1234567
  1. <?php
  2. header("Content-Type: text/plain");
  3. printf("HTTPS=%s\n", $_SERVER["HTTPS"] ?? "(unset)");
  4. printf("X-Forwarded-Proto=%s\n", $_SERVER["HTTP_X_FORWARDED_PROTO"] ?? "(unset)");
  5. printf("Request_Scheme=%s\n", $_SERVER["REQUEST_SCHEME"] ?? "(unset)");
  6. printf("Server_Port=%s\n", $_SERVER["SERVER_PORT"] ?? "(unset)");
  7. printf("Host=%s\n", $_SERVER["HTTP_HOST"] ?? "(unset)");