Hi, I'm trying to use a forward proxy as a traefik route backend to forward to external services.
I tried the configuration below (tested it using
curl -k http://httpbin.org --resolve httpbin.org:80:<my ip>), but always get a error from squid (
The requested URL could not be retrieved). Maybe you can help me figure out what my mistake is (I also want to use it to forward https requests)
--- apiVersion: apps/v1 kind: Deployment metadata: name: proxy spec: selector: matchLabels: app: proxy template: metadata: labels: app: proxy spec: containers: - name: proxy image: b4tman/squid resources: limits: cpu: 250m ports: - containerPort: 3128 name: http --- apiVersion: v1 kind: Service metadata: name: proxy spec: selector: app: proxy ports: - port: 3128 targetPort: http --- apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: httpbin-proxy namespace: default spec: entryPoints: - web routes: - match: Host(`httpbin.org`) kind: Rule services: - name: proxy port: 3128