Need help with global variable
mike
mike503 at gmail.com
Wed Oct 29 01:18:43 MSK 2008
you'd need to set that in a fastcgi_param
fastcgi_param SERVER_ADDR $server_addr;
is what i have. i haven't confirmed or used it though.
On Tue, Oct 28, 2008 at 3:13 PM, Jim Ohlstein <jim.ohlstein at gmail.com> wrote:
> I am hosting a site that requires the following (according to the developer)
> for a script license verification"
>
>
>
> "global variable available from the server."
>
>
>
> _SERVER['SERVER_ADDR']
>
>
>
>
>
> The best that I can understand is that they need the server's IP address to
> be returned.
>
>
>
> "SERVER_ADDR" does not seem to be recognized by Nginx. Where do I go with
> this?
>
>
>
>
>
> Jim
More information about the nginx
mailing list