Skip to content

Commit

Permalink
Fix acme route configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kea committed Feb 12, 2024
1 parent 706bc87 commit 621e618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certbot_nginx_unit/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _ensure_acme_route(self, actual_route: str) -> str:
}
]
if actual_route != "routes" and actual_route != "routes/acme":
acme_route.append({"pass": actual_route})
acme_route.append({"action": {"pass": actual_route}})

acme_route_json = json.dumps(acme_route)

Expand Down

0 comments on commit 621e618

Please sign in to comment.