Libretranslate on Ubuntu. How to access the web intrface with specific domain not local IP

Hi, I am new to Linux. I have installed the Libretranslate on the Ubuntu desktop. I can access the Libretranslate web interface with the local IP address on port 80. How can I set this up to access via a custom URL on Apache? Can it be done via a virtual host so it is running on Apache under different folder links?

Yes you certainly can. Check out the README’s section on reverse proxies, there’s an example for apache2: GitHub - LibreTranslate/LibreTranslate: Free and Open Source Machine Translation API. Self-hosted, offline capable and easy to setup.

1 Like