I was wondering how to set a Foxx app at the root of the sever/ip/domain name?
For example if my IP was 100.12.32.12 if I go to http://100.12.32.12 it'll open the single-page foxx app without URL redirection.
Things I've Tried
Currently I got Arangodb to use
tcp://0.0.0.0:80endpoint, so I got the port to work.I also set up a
index.htmlfile in my app'smanifest.jsonand mounted that app to/However currently going to
http://100.12.32.12redirects me tohttp://107.170.131.61/_db/_system/index.htmlwhich works, but URL is changed.Also
http://100.12.32.12/index.htmlworks, but I was wondering if it's possible to gethttp://100.12.32.12to show the app without the redirect.I've tried
sudo arangod --javascript.app-path /path/to/appbut that doesn't seem to work.
Thanks. I am new to Arangodb and Foxx.