You're going to need to provide more information.
Is your external URL just providing a different host? Or are you also providing a different path?
How did you configure your nginx reverse proxy?
What kind of failure are you seeing when you true to reach the Prometheus directly?