Skip to content

kamal-proxy not booted when using a difference machine for accessories #1384

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

Open
fidalgo opened this issue Jan 29, 2025 · 2 comments
Open

Comments

@fidalgo
Copy link

fidalgo commented Jan 29, 2025

I have one machine for web/jobs and another for accessories.

I have a root proxy configuration:

proxy:
  ssl: true
  hosts:
    - example.net
    - www.example.net

and my accessories have:

    host: x.x.x.x
    port: 9000
    proxy:
      host: list.example.net
      app_port: 9000
      ssl: true
      forward_headers: true
      healthcheck:
        path: /

When I do a kamal proxy boot it only boots the proxy on my web machine, the docker command is not executed on the accessories machine.

When I boot my accessory, I have the error message:

docker stderr: Error response from daemon: No such container: kamal-proxy

So, is there a way to have the proxy also running on the accessories machine?

@fidalgo fidalgo changed the title kamal-proxy not using two different machines for kamal-proxy not booted when using a difference machine for accessories Jan 29, 2025
@scottpi
Copy link

scottpi commented Feb 3, 2025

Hey you can't use multiple hosts with kamal-proxy ssl. You need to turn ssl off.
kamal-proxy ssl configuration

@igor-alexandrov
Copy link
Contributor

@fidalgo thank you, I will fix this.

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

3 participants