Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Docker Nginx Auto Ssl
Commits
276b3871
Commit
276b3871
authored
Sep 03, 2018
by
Pablo Zaidenvoren
Browse files
typo
parent
b0ee8086
Changes
1
Show whitespace changes
Inline
Side-by-side
snippets/resty-http.conf
View file @
276b3871
...
@@ -19,7 +19,7 @@ resolver 8.8.8.8;
...
@@ -19,7 +19,7 @@ resolver 8.8.8.8;
# Initial setup tasks.
# Initial setup tasks.
init_by_lua_block
{
init_by_lua_block
{
auto_ssl
= (
require
"resty.auto-ssl"
).
new
()
auto_ssl
= (
require
"resty.auto-ssl"
).
new
()
auto_ssl
:
:
set
(
"ca"
,
'$LETSENCRYPT_URL'
)
auto_ssl
:
set
(
"ca"
,
'$LETSENCRYPT_URL'
)
--
Define
a
function
to
determine
which
SNI
domains
to
automatically
handle
--
Define
a
function
to
determine
which
SNI
domains
to
automatically
handle
--
and
register
new
certificates
for
.
Defaults
to
not
allowing
any
domains
,
--
and
register
new
certificates
for
.
Defaults
to
not
allowing
any
domains
,
--
so
this
must
be
configured
.
--
so
this
must
be
configured
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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