From ff515f43124ed0b05a2a352d7ec1ed0b22253c92 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 1 Sep 2017 07:54:01 +0300 Subject: Added SERVER_ADDR parameter for Python and PHP modules. --- src/nxt_python_wsgi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nxt_python_wsgi.c') diff --git a/src/nxt_python_wsgi.c b/src/nxt_python_wsgi.c index 6c188066..c29aa426 100644 --- a/src/nxt_python_wsgi.c +++ b/src/nxt_python_wsgi.c @@ -666,6 +666,7 @@ nxt_python_get_environ(nxt_task_t *task, nxt_app_rmsg_t *rmsg, NXT_READ("SERVER_PROTOCOL"); NXT_READ("REMOTE_ADDR"); + NXT_READ("SERVER_ADDR"); RC(nxt_app_msg_read_str(task, rmsg, &host)); -- cgit