appBaseUrl obeys forwarded port first, then app port