If the software product is not generating correct URLs or behavior is inconsistent, verify the following:
The proxy is properly configured to include X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-For headers.
The values in these headers match the hostname, protocol, and client IP address visible to the user.
The software product is configured to trust the proxy and use the forwarded headers (if applicable).