-
|
Hello, I'm trying to get HTTP2 (and later an HTTP3) services deployed with dokploy. Below is the smallest setup I could make to reproduce my setup.
services:
test:
image: surma/simplehttp2server
expose:
- 5000
labels:
- traefik.http.services.monitoring-http2test-namyib-12-web.loadbalancer.server.scheme=httpsThe generated docker compose looks like that services:
test:
image: surma/simplehttp2server
expose:
- 5000
labels:
- traefik.docker.network=dokploy-network
- traefik.http.routers.monitoring-http2test-namyib-12-web.rule=Host(`monitoring-http2test-namyib-c843b3-51-255-22-26.traefik.me`)
- traefik.http.routers.monitoring-http2test-namyib-12-web.entrypoints=web
- traefik.http.services.monitoring-http2test-namyib-12-web.loadbalancer.server.port=5000
- traefik.http.routers.monitoring-http2test-namyib-12-web.service=monitoring-http2test-namyib-12-web
- traefik.enable=true
- traefik.http.services.monitoring-http2test-namyib-12-web.loadbalancer.server.scheme=https
networks:
- dokploy-network
networks:
dokploy-network:
external: trueAnd if I browse to http://monitoring-http2test-namyib-c843b3-51-255-22-26.traefik.me/, I'm getting an And it makes sense because How to tell traefik to skip certificate verification ? Traefik docs says to add a label to configure
labels:
- traefik.http.services.monitoring-http2test-namyib-12-web.loadbalancer.server.scheme=https
- traefik.http.services.monitoring-http2test-namyib-12-web.loadBalancer.serversTransport=mytransportNow, traefik says it can't find
labels:
- traefik.http.services.monitoring-http2test-namyib-12-web.loadbalancer.server.scheme=https
- traefik.http.services.monitoring-http2test-namyib-12-web.loadBalancer.serversTransport=mytransport
- traefik.http.serversTransports.mytransport.insecureSkipVerify=trueAny idea ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
adding http:
# default content goes here
serversTransports:
mytransport:
insecureSkipVerify: trueAdding a suffix Edit: based on traefik/traefik#8884 (comment), I need to declare the transport in a file and change my labels to labels:
- traefik.http.services.monitoring-http2test-namyib-12-web.loadbalancer.server.scheme=https
- traefik.http.services.monitoring-http2test-namyib-12-web.loadBalancer.serversTransport=mytransport@fileHow that can be done with dokploy ? |
Beta Was this translation helpful? Give feedback.
-
|
Found it. I have to manually edit http:
# default content goes here
serversTransports:
mytransport:
insecureSkipVerify: true |
Beta Was this translation helpful? Give feedback.
Found it.
I have to manually edit
/etc/dokploy/traefik/dynamic/middlewares.ymlon the server where the service is running. Not the control plane.