NginxProxyManager / NginxProxyManager/nginx-proxy-manager

NPM & Certbot Renewal Hooks

Open
#3,185 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Certbot renewal hooks not firing. See discussion.

Discussed in https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/2023

Originally posted by jtrosper April 22, 2022
Hello,

I have a use case where my goal is the following:

Have NPM running via docker
Have a proxy host configured with NPM's letsencrypt support generating the SSL cert.
Have a script on the local host's file system in /npm-dir/letsencrypt/renewal-hooks/post/ which uses the cert generated via npm/certbot.

My understanding is that a standard install of certbot will automatically execute anything contained in /renewal-hooks/post/ without having to specify any extra config.

Does a dockerized NPM installation also do this, if a post-renewal script is placed into this folder? Or does it need to live inside of the container somehow?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the discussion at https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/2023 and the issue's description of /npm-dir/letsencrypt/renewal-hooks/post/. Determine whether Dockerized Nginx Proxy Manager runs scripts placed there or requires them inside the container; document the supported hook location and usage once confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.