Option to change the application root path
Option to change the application root path
In the previous version (0.x) it was possible to change the application root path (/) to other path like (/ara) This option is not present in the latest documentation, is there a way today to change the application root path ?
Thanks !
Hi @mathishaloy and thanks for the issue.
We recommend setting the API server at the root of a subdomain because it's simpler that way.
If you really want to put it under a subdirectory, there's a workaround suggested in this other issue: https://github.com/ansible-community/ara/issues/121
Hi @dmsimard, thanks for your quick response. Unfortunately I'm using the docker image, do you have also a workaround for this type of installation ?
The workaround is the same: put an nginx in front of the container which takes care of modifying URLs to be under a subdirectory.
I think this is addressed by https://ara.readthedocs.io/en/latest/api-configuration.html#ara-base-dir from https://github.com/ansible-community/ara/pull/452 right?