Submitted by BOPOHA on Wed, 07/27/2016 - 00:00
I'm use "post_command=/path/somescript.pl" option in /etc/webmin/virtual-server/config.
It rebuilds my nginx.conf (nginx as a reverse proxy to apache).
The problem with letsencrypt after requesting a certificate for domain.
There is my patch-request:
--- /usr/libexec/webmin/virtual-server/letsencrypt.cgi 2016-07-27 04:43:13.935399786 +0000
+++ /usr/libexec/webmin/virtual-server/letsencrypt.cgi 2016-07-27 04:43:06.932399786 +0000
@@ -87,6 +87,7 @@
&release_lock_ssl($d);
&$second_print($text{'setup_done'});
+ &made_changes();
&run_post_actions();
&webmin_log("letsencrypt", "domain", $d->{'dom'}, $d);
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Wed, 07/27/2016 - 01:42 Comment #1
That's a good suggestion - I will have Virtualmin run pre and post commands for SSL changes in the next release.
Submitted by BOPOHA on Wed, 08/03/2016 - 12:28 Comment #2
The problem resolved in wbm-virtual-server-5.04 (2016-07-30)
Submitted by JamieCameron on Wed, 08/03/2016 - 20:51 Comment #3