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:80
endpoint, so I got the port to work.I also set up a
index.html
file in my app'smanifest.json
and mounted that app to/
However currently going to
http://100.12.32.12
redirects me tohttp://107.170.131.61/_db/_system/index.html
which works, but URL is changed.Also
http://100.12.32.12/index.html
works, but I was wondering if it's possible to gethttp://100.12.32.12
to show the app without the redirect.I've tried
sudo arangod --javascript.app-path /path/to/app
but that doesn't seem to work.
Thanks. I am new to Arangodb and Foxx.