Skip to content

Fix renewals on separate containers#165

Merged
JrCs merged 3 commits into
nginx-proxy:masterfrom
prodrigestivill:issue-121
May 28, 2017
Merged

Fix renewals on separate containers#165
JrCs merged 3 commits into
nginx-proxy:masterfrom
prodrigestivill:issue-121

Conversation

@prodrigestivill

Copy link
Copy Markdown
Contributor

As described in issue #121 there is a bug when there is no new domains added, and needed to SIGHUP nginx container.
This pull requests automatize this reload in this case scenario.

It could be more optimal and only reload nginx container in case no new domains had been found, but sending SIGHUP to nginx container twice doesn't seem like a big cost. At least for a quick short term solution.

@heinemml

heinemml commented Feb 9, 2017

Copy link
Copy Markdown

Wouldn't it make sense to also use the 'NGINX_PROXY_CONTAINER' variable for this case? From a User-perspective I think it's a bit misleading to have two different NGINX container variables. The cases are mutual exclusive, so it should simplify the configuration.

…newal happend. Reusing the autodetection from --volumes-from.
@prodrigestivill

Copy link
Copy Markdown
Contributor Author

At first i tried to avoid the auto-fill to interfere with the NGINX variable. But it makes sense because the auto-fill only detects for a NGINX containter, and not for nginx-proxy.

@buchdag buchdag mentioned this pull request Apr 28, 2017
@buchdag

buchdag commented May 24, 2017

Copy link
Copy Markdown
Member

@JrCs is there something preventing this from being merged ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants