Skip to content

Commit 0b73ad5

Browse files
committed
fix Let's Encrypt add web domain alias support
1 parent a36e5b7 commit 0b73ad5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,7 @@ function update($event_name, $data) {
11831183
($data['old']['ssl'] == 'n' || $data['old']['ssl_letsencrypt'] == 'n') // we have new let's encrypt configuration
11841184
|| ($data['old']['domain'] != $data['new']['domain']) // we have domain update
11851185
|| ($data['old']['subdomain'] != $data['new']['subdomain']) // we have new or update on "auto" subdomain
1186+
|| ($data['old']['type'] == 'alias' || $data['new']['type'] == 'alias') // we have new or update on alias domain
11861187
|| $this->update_letsencrypt == true
11871188
)) {
11881189
// default values

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,7 @@ function update($event_name, $data) {
12511251
($data['old']['ssl'] == 'n' || $data['old']['ssl_letsencrypt'] == 'n') // we have new let's encrypt configuration
12521252
|| ($data['old']['domain'] != $data['new']['domain']) // we have domain update
12531253
|| ($data['old']['subdomain'] != $data['new']['subdomain']) // we have new or update on "auto" subdomain
1254+
|| ($data['old']['type'] == 'alias' || $data['new']['type'] == 'alias') // we have new or update on alias domain
12541255
|| $this->update_letsencrypt == true
12551256
)) {
12561257
// default values

0 commit comments

Comments
 (0)