Commit a5af334
fix for hestiacp#2176, hestiacp#2041 - Temporarily disable HTTPS redirection and force SSL when renewing LE certificate (hestiacp#2304)
* fix for hestiacp#2176, hestiacp#2041
* Resolve comments on PR
- Replace source conf with the more secure:
parse_object_kv_list
- $SSL_FORCE, $REDIRECT_CODE and $REDIRECT where allready availble and don't require a lookup
- Add a final restart of the webservers when command is complete to make sure the config has been reloaded with the correct settings
* Fix shellcheck error
* Remove irrelevant spaces.
Co-authored-by: SAF <saf@advina.ru>
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
Co-authored-by: Raphael Schneeberger <rs@scit.ch>1 parent d13b60a commit a5af334
1 file changed
+27
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
92 | 103 | | |
93 | 104 | | |
94 | 105 | | |
| |||
103 | 114 | | |
104 | 115 | | |
105 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
106 | 124 | | |
107 | 125 | | |
108 | 126 | | |
| |||
147 | 165 | | |
148 | 166 | | |
149 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
150 | 174 | | |
151 | 175 | | |
152 | 176 | | |
| |||
0 commit comments