nginx reverse proxy fix

This commit is contained in:
jake committed 2012-05-04 11:15:01 -04:00
1 parent f37e074199
commit f37f67cefb
1 file changed
+1 -1
+1 -1
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']; ?>