Skip to content

Commit 1bb58e2

Browse files
committed
log nginx config
1 parent e7dd920 commit 1bb58e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/bin/load_balancer.rs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ A Rust load balancer for Jonline servers deployed on Kubernetes
6464
});
6565
return Ok(());
6666
} else {
67+
log::info!("NGINX config:\n{}\n", fs::read_to_string(NGINX_CONF)?);
6768
log::info!("Starting NGINX...");
6869
let mut nginx = match std::process::Command::new("nginx")
6970
.args(&[

0 commit comments

Comments
 (0)