Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
6c07a965
Commit
6c07a965
authored
Feb 14, 2017
by
Florian Schaal
Browse files
fixed typo from last commit
parent
5e2981f4
Changes
1
Show whitespace changes
Inline
Side-by-side
server/plugins-available/nginx_plugin.inc.php
View file @
6c07a965
...
...
@@ -1337,7 +1337,7 @@ class nginx_plugin {
$success
=
false
;
$letsencrypt
=
explode
(
"
\n
"
,
shell_exec
(
'which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt'
));
$letsencrypt
=
reset
(
$letsencrypt
);
if
(
is_executable
(
$letsencrypt
)
&&
&&
!
empty
(
$lddomain
))
{
if
(
is_executable
(
$letsencrypt
)
&&
!
empty
(
$lddomain
))
{
$success
=
$this
->
_exec
(
$letsencrypt
.
" certonly -n --text --agree-tos --expand --authenticator webroot --server https://acme-v01.api.letsencrypt.org/directory --rsa-key-size 4096 --email postmaster@
$domain
$lddomain
--webroot-path /usr/local/ispconfig/interface/acme"
);
}
if
(
!
$success
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment