portainer / agent

The Portainer agent
https://www.portainer.io
zlib License
319 stars 71 forks source link

Issue with working with Caddy #211

Open Attacler opened 3 years ago

Attacler commented 3 years ago

For the agent i cannot find a way to make sure that the message: Client sent an HTTP request to an HTTPS server. Does not turn up anymore, for the portainer "dashboard" i could configure docker to use port 9000 instead of 9001 which disables the check for SSL. Now im looking for a way to avoid the SSL connection too. Reason why is because i use Caddy reverse proxy to make sure SSL is enabled: https://caddyserver.com/docs/quick-starts/reverse-proxy

Does someone know a simple way to make sure expose the HTTP port instead of the HTTPS port?

kuoruan commented 1 year ago
reverse_proxy https://portainer-agent:9001 {
  transport http {
    tls_insecure_skip_verify
  }
}