1
mirror of https://github.com/jakejarvis/simpip.git synced 2025-06-27 16:15:41 -04:00

nginx reverse proxy fix

This commit is contained in:
2012-05-04 11:15:01 -04:00
parent f37e074199
commit f37f67cefb

View File

@ -1 +1 @@
<?php header("Content-type: text/plain"); echo ($_SERVER['$_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['$_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; ?> <?php header("Content-type: text/plain"); echo ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; ?>