diff --git a/certbot_nginx_unit/configurator.py b/certbot_nginx_unit/configurator.py index 90ed27d..f0c143e 100644 --- a/certbot_nginx_unit/configurator.py +++ b/certbot_nginx_unit/configurator.py @@ -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)