Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with working with Caddy #211

Open
Attacler opened this issue Oct 9, 2021 · 1 comment
Open

Issue with working with Caddy #211

Attacler opened this issue Oct 9, 2021 · 1 comment

Comments

@Attacler
Copy link

Attacler commented Oct 9, 2021

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
Copy link

kuoruan commented Feb 9, 2023

reverse_proxy https://portainer-agent:9001 {
  transport http {
    tls_insecure_skip_verify
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants