summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_python_wsgi.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-09-01 07:54:01 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-09-01 07:54:01 +0300
commitff515f43124ed0b05a2a352d7ec1ed0b22253c92 (patch)
treeaa73e59450592f6d57f2e2178a2ee35134e7099a /src/nxt_python_wsgi.c
parent9941b0cd6557902613a41d3b85c03e4efca6eb8c (diff)
downloadunit-ff515f43124ed0b05a2a352d7ec1ed0b22253c92.tar.gz
unit-ff515f43124ed0b05a2a352d7ec1ed0b22253c92.tar.bz2
Added SERVER_ADDR parameter for Python and PHP modules.
Diffstat (limited to 'src/nxt_python_wsgi.c')
-rw-r--r--src/nxt_python_wsgi.c1
1 files changed, 1 insertions, 0 deletions
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));