Can kamal-proxy listen on a specific network interface/IP address of a host? #102
Replies: 3 comments
-
So @tbuehlmann helped coming up with a workaround: on the server, hack the
then do a he also pointed out that probably it could be achieved if the kamal CLI would allow for non-numeric http ports here: https://github.com/basecamp/kamal/blob/v2.3.0/lib/kamal/cli/proxy.rb#L26-L27 (or possibly a different, new argument) |
Beta Was this translation helpful? Give feedback.
-
@julianrubisch I have proposed a solution - basecamp/kamal#1265
|
Beta Was this translation helpful? Give feedback.
-
This seems to be handled most easily on the Kamal side, via the change the @phoozle added above. |
Beta Was this translation helpful? Give feedback.
-
Sorry if this is out of scope and/or irrelevant, but I was wondering... I have a server with multiple network interfaces. I would love to separate some services out by routing requests via kamal-proxy only if they come in via one specific network interface / IP address.
Right now (I assume) this is not possible because
kamal-proxy
listens on0.0.0.0
, is that correct?Beta Was this translation helpful? Give feedback.
All reactions