Generating shared Links showing internal IP Address

Please provide the following tags: install / upgrade, package type, server OS, pydio version

Problem:
Using the latest version of pydio 8.2.3 on ubuntu 18.04 server x64, everything is working great, expect when sharing folder or files .
for example when l share a file , it sends this out:
http://172.16.122.xx/pydio/public/d9260d which is of course an internal ip address, l want to share with external users , such as http://doamin.com/pydio/public/d9260d, or somthing like that.

Could you tell me how to setup it detail? thank you

Hi,

Please set value of Pydio >> Settings >> Main options >> Server url: http://domian.com/pydio