diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-09-01 07:54:01 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-09-01 07:54:01 +0300 |
commit | ff515f43124ed0b05a2a352d7ec1ed0b22253c92 (patch) | |
tree | aa73e59450592f6d57f2e2178a2ee35134e7099a /src/nxt_python_wsgi.c | |
parent | 9941b0cd6557902613a41d3b85c03e4efca6eb8c (diff) | |
download | unit-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.c | 1 |
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)); |