Skip to content

nginx-acme-0.1.1 #24

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

Merged
merged 2 commits into from
Aug 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 0.1.0 (August 11, 2025)
## 0.1.1 (August 11, 2025)

Initial release.

Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ extern "C" fn ngx_http_acme_init_worker(cycle: *mut ngx_cycle_t) -> ngx_int_t {
// SAFETY: cycle passed to the module callbacks is never NULL
let cycle = unsafe { &mut *cycle };

let amcf = HttpAcmeModule::main_conf(cycle).expect("acme main conf");
let Some(amcf) = HttpAcmeModule::main_conf(cycle) else {
return Status::NGX_OK.into();
};

if !amcf.is_configured() {
ngx_log_debug!(cycle.log, "acme: not configured");
Expand Down
Loading