The only workaround I’ve found is to use a map rule to get the port from the http_host variable e.g.
map $http_host $port {
default 80;
"~^[^\:]+:(?<p>\d+)$" $p;
}
The only workaround I’ve found is to use a map rule to get the port from the http_host variable e.g.
map $http_host $port {
default 80;
"~^[^\:]+:(?<p>\d+)$" $p;
}