summaryrefslogtreecommitdiffhomepage
path: root/src/perl
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/nxt_perl_psgi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/perl/nxt_perl_psgi.c b/src/perl/nxt_perl_psgi.c
index 5b206cba..16bcf79f 100644
--- a/src/perl/nxt_perl_psgi.c
+++ b/src/perl/nxt_perl_psgi.c
@@ -596,6 +596,9 @@ nxt_perl_psgi_env_create(PerlInterpreter *my_perl, nxt_task_t *task,
RC(nxt_perl_psgi_read_add_env(my_perl, task, rmsg, \
hash_env, ATTR, &str))
+ RC(nxt_perl_psgi_env_append_str(my_perl, hash_env,
+ "SERVER_SOFTWARE", &nxt_server));
+
GET_STR("REQUEST_METHOD");
GET_STR("REQUEST_URI");