Convert the private IP address to a domain name

hello !
I’m having a problem,After the ONLYOFFICE service uses a domain name as a proxy, the actual IP address is still used for some request addresses.

For example:
service IP is http://192.168.0.190
domain name is htpps://www.yuomyd.com

After accessing the service through the domain name, the next address is the actual IP address
http://192.168.0.190:9000/cache/files/-1266895302_4754/output.docx/output.docx?md5=X86S3iBrkJ1kldjVcDBEuw&expires=1585546371&disposition=attachment&filename=output.docx)

How to deal with this,I want all requests to be accessed through the domain name .

service for docker and version 7.4.1

Hope it helps , Thanks .

Hello @H450322554

I’m not sure if I understand how you set up proxy to provide a domain name. Do you use your own DNS server?

In general, for your proxy scheme you should refer to this article that describes how to utilize Document Server behind proxy:

hello:
Following the above configuration did not resolve the issue.
Look at picture 1 above , Open the edit page from the domain name ,However, the interface in Figure 2 is still the private IP address,See picture 1 for the error message. I would like to answer why the request address in Figure 2 cannot be consistent with the domain name, and the other request addresses are the same as the domain name?

   Hope it helps , Thanks .

I see what you are talking about, however, I’ve already asked to share additional information on how this set up works:

Also, it is private network?

yes! I think it is private network.

Do you have domain name associated with IP address of Document Server? Once again, I don’t quite understand what this means:

hello !
Document Server not associated domain name , Forward via nginx on another nameserver

Please take a look at the sample config here for https > http scheme:

You need to make sure that x-forwarded-proto header is used.