Allow server port to be overriden in Apache handler (#2335)
This commit is contained in:
parent
163c90b42f
commit
a71991924c
|
@ -25,7 +25,7 @@ sub new {
|
|||
QUERY_STRING => $args,
|
||||
REQUEST_URI => $uri_full,
|
||||
PATH_INFO => '',
|
||||
SERVER_PORT => $r->get_server_port,
|
||||
SERVER_PORT => $ENV{SERVER_PORT} || $r->get_server_port,
|
||||
REQUEST_METHOD => $r->method,
|
||||
'psgi.version' => [ 1, 1 ],
|
||||
'psgi.url_scheme' => ( $ENV{HTTPS} || 'off' ) =~ /^(?:on|1)$/i
|
||||
|
|
Loading…
Reference in New Issue
Block a user