Skip to content

Commit 068d068

Browse files
committed
Print reverse proxy reminder in v1 CLI
1 parent 013615b commit 068d068

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

payjoin-cli/src/app/v1.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ impl App {
152152
"Listening at {}. Configured to accept payjoin at BIP 21 Payjoin Uri:",
153153
listener.local_addr()?
154154
);
155+
156+
#[cfg(not(feature = "_manual-tls"))]
157+
println!("You should run a reverse proxy for the listener to terminate TLS!");
158+
155159
println!("{pj_uri_string}");
156160

157161
let app = self.clone();

0 commit comments

Comments
 (0)