Closed toutas closed 1 month ago
Hi,
curl -kv http://172.19.0.1:8080/api
Have you tried this with --resolve
option?
@kurokobo I did try that.
But I just uninstalled k3s and did a reinstall from scratch (with the same playbook I always use, no modifications) and it works fine now. My docker traefik instance redirects perfectly fine to the k3s ingress traefik instance on 8080.
Sorry for this issue, seems to be due to some weird happening on my host. The host has never had k3s before, so not sure why uninstalling and then running my setup again made it work.
closing issue since it's fixed!
Greetings
I have been fiddling around with trying to get AWX running behind a reverse proxy. I have a host with traefik listening to 80/443 already, running on docker, so the default k3s ingress is not available. I would like to modify AWX and the k3s ingress to listen to 8080/8443, so I can reverse proxy from my traefik instance to localhost:8080 if it matches my awx.my.domain route.
I have defined the traefik service as required to load balance requests to :8080, but I am not sure how to modify AWX to listen on 8080.
I have attempted to use the following modification to ingress on k3s:
and this allows me to do the following
to me this shows AWX can respond to requests on port 8080.
I have defined my docker network with static docker_network_gateway_ip as 172.19.0.1, and I can see that requests are received in the k3s traefik ingress log when using curl:
but when I attempt to curl it just says 404 page not found. This means redirects from docker traefik to the ingress just display 404 page not found when I try to access awx.my.domain. Any ideas as to what I can modify?
The issue is that requests to my host port 8080 do not get routed to the awx instance for some reason.