Hello all.
I'm trying to use Traefik in front of a proxy server. The server need CONNECT
method to work, but every request i sent are dropped to no where.
[IP MASKED] - - [10/Feb/2023:14:33:08 +0000] "CONNECT - HTTP/2.0" 404 19 "-" "-" 495 "-" "-" 0ms
I tried to add Method(CONNECT
) to the matching rule but things are still not working.
IngressRoute.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: naive
namespace: applications
spec:
entryPoints:
- websecure
routes:
- match: Host(`[HOST]`) && Method(`CONNECT`)
kind: Rule
services:
- name: naive
kind: Service
port: 8080
scheme: h2c
tls:
secretName: [TLSNAME]
So could traefik handle with CONNECT request in the first place???
Thanks for your help!