Skip to content

Commit ec013ea

Browse files
committed
the on-demand URL must contain the http scheme
1 parent 46d3d38 commit ec013ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ In addition of the automatic TLS functionality, Kamal Proxy can also dynamically
9595
from any host allowed by an external API endpoint of your choice.
9696
This avoids hard-coding hosts in the configuration, especially when you don't know the hosts at the startup.
9797

98-
kamal-proxy deploy service1 --target web-1:3000 --host "" --tls --tls-on-demand-url=localhost:4567/check
98+
kamal-proxy deploy service1 --target web-1:3000 --host "" --tls --tls-on-demand-url="http://localhost:4567/check"
9999

100100
The On-demand URL endpoint will have to answer a 200 HTTP status code.
101101
Kamal Proxy will call the on-demand URL with a query string of `?host=` containing the host received by Kamal Proxy.

0 commit comments

Comments
 (0)