Hi,
I’m wondering if it is possible to configure a root prefix for all requests received by AWX.
Example :
Instead of https://@IP/#/home, AWX serves https://@IP/app/#/home
Thank you.
Hi,
I’m wondering if it is possible to configure a root prefix for all requests received by AWX.
Example :
Instead of https://@IP/#/home, AWX serves https://@IP/app/#/home
Thank you.
ahmed,
It might be possible, though it will take some experimenting. I’d start with this line in the nginx configuration:
https://github.com/ansible/awx/blob/devel/installer/roles/image_build/templates/nginx.conf.j2#L93
Thank you for your suggestion.
I have modified the line with rewrite ^(.)$http_host/app(.[^/])$ $1$http_host$2/ permanent;
I get “WARNING django.request Not Found: /app/api” in awx web logs**.** Should I also change the mapping between the URL path expressions and the views in django ?