We do not support non-standard ports facing the browser but we do support non-standard ports for connecting to the origin servers. The range of non-standard ports we support on the origin is limited. For now, its just port 8080 and port 8443.
Here is an example section.config.json using custom origin ports:
"environments": {
"Production": {
"origin": {
"address": "origin.example.com",
"http_port": 8080,
"https_port": 8443
}
}
}
other non-standard ports will likely fail with HTTP 502 or 504 errors due to firewalling.