if (clcf->port_in_redirect) {
#if (NGX_HTTP_SSL)
- if (r->connection->ssl)
- port = (port == 443) ? 0 : port;
- else
+ if (r->connection->ssl)
+ port = (port == 443) ? 0 : port;
+ else
#endif
- port = (port == 80) ? 0 : port;
- }
+ port = (port == 80) ? 0 : port;
+ }
if (port) {
len += sizeof(":65535") - 1;