Can't get iOS app to connect - Protocol Error

Found the solution here:

basically trick iOS that the server is located at the reverse proxy…