kurokobo / awx-on-k3s

An example implementation of AWX on single node K3s using AWX Operator, with easy-to-use simplified configuration with ownership of data and passwords.
MIT License
518 stars 143 forks source link

AWX tower URL redirection #368

Closed Nilesh486 closed 4 weeks ago

Nilesh486 commented 1 month ago

Production environment

Description

We have awx setup and the URL is https:/<>// and we wanted to change the old url to new URL https://<>.

Do we have provision to redirect the old url to new url.

kurokobo commented 4 weeks ago

@Nilesh486 Hi, sorry for the late reply, I haven't been feeling well and couldn't find the time to respond.

We have awx setup and the URL is https:/<>// and we wanted to change the old url to new URL https://<>.

Lack of information, but am I correct that you want to redirect users from https://old-url-of-awx.example.com/ for your old AWX on K3s to https://new-url-of-awx.example.com/? If so, technically we can use RedirectRegex feature of Traefik to redirect users, but it also requires additional expertise with Traefik, Ingress, K3s, AWX Operator, SNI, etc. It is out of scope to provide a complete guide here, so if you are interested, give it a try.

If you want a quick fix, you can run the web server with the old URL to redirect users, for example.