mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
"port_in_redirect off" did not work
the bug had been appeared in r2530 and r2534
This commit is contained in:
parent
2cc2893bc1
commit
bffd3196cf
@ -357,6 +357,9 @@ ngx_http_header_filter(ngx_http_request_t *r)
|
||||
else
|
||||
#endif
|
||||
port = (port == 80) ? 0 : port;
|
||||
|
||||
} else {
|
||||
port = 0;
|
||||
}
|
||||
|
||||
if (port) {
|
||||
|
Loading…
Reference in New Issue
Block a user