Hello, is there any way to disable HTTPS redirect...
# talk-hydra
h
Hello, is there any way to disable HTTPS redirection without using the dev flag? Im running with the helm chart on a kubernetes cluster, and the admin endpoint is not publically available, we will reach it internally and we have Istio which handles TLS. I've tried to disable tls through config but im still getting redirects to HTTPS
Copy code
serve:
  admin:
    port: 4445
    tls:
      enabled: false
  public:
    port: 4444
    tls:
      enabled: false
  tls:
    allow_termination_from:
    - 10.0.0.0/8
    - 172.16.0.0/12
    - 192.168.0.0/16
    enabled: false
w
We are running without dev flag and there is no HTTP to HTTPS redirection on the admin port
I am not familiar with the Helm chart but maybe the admin port is being proxied by nginx and nginx is redirecting?
h
could you share the config? Im getting a https redirect to https://localhost:4445
Im confident its hydra returning the redirect, its also in the hydra logs themselves that it returns a 3xx code
w
Copy code
serve:
  public:
    base_url: <http://127.0.0.1:4433/>
    cors:
      enabled: true
  admin:
    base_url: <http://127.0.0.1:4434/>
Just default settings, no HTTP -> HTTPS no redirect from us
My bad, I see this is Hydra channel 😄 Sorry!
h
This was actually a issue with me using an old postman collection that had the admin endpoints without the
/admin/
prefix, which caused it to redirect to https. If i used the
/admin
prefix the endpoints worked fine 😃