How does the only-office client connect to the only-office service through the external network?

How does the only-office client connect to the only-office service through the external network? I found that it seems to only support the direct connection of the intranet, and cannot be accessed through the link forwarded by nginx

Hello @hsy
Please describe your request in more details. What is exactly your final goal? Are you trying to implement integration between Document server and your storage\app?