Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Docker Nginx Auto Ssl
Commits
19d0f7c5
Commit
19d0f7c5
authored
Nov 22, 2018
by
Jakub Skałecki
Browse files
added support for HTTP/2 issue #8
parent
c9e29338
Changes
3
Show whitespace changes
Inline
Side-by-side
README.md
View file @
19d0f7c5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@




Docker image for automatic generation of SSL certs using Let's encrypt and Open Resty, with reasonable SSL settings
.
Docker image for automatic generation of SSL certs using Let's encrypt and Open Resty, with reasonable SSL settings
and HTTP/2 support.
You can specify allowed domains and simple proxies using ENV variables, and easily override
`nginx.conf`
to your needs.
You can specify allowed domains and simple proxies using ENV variables, and easily override
`nginx.conf`
to your needs.
This is possible thanks to
[
OpenResty
](
https://github.com/openresty/openresty
)
and
[
lua-resty-auto-ssl
](
https://github.com/GUI/lua-resty-auto-ssl
)
.
This is possible thanks to
[
OpenResty
](
https://github.com/openresty/openresty
)
and
[
lua-resty-auto-ssl
](
https://github.com/GUI/lua-resty-auto-ssl
)
.
...
...
snippets/server-default.conf
View file @
19d0f7c5
# default open resty blank configuration, just to show that it's working
# default open resty blank configuration, just to show that it's working
server
{
server
{
listen
443
ssl
default_server
;
listen
443
ssl
http2
default_server
;
include
resty
-
server
-
https
.
conf
;
include
resty
-
server
-
https
.
conf
;
...
...
snippets/server-proxy.conf
View file @
19d0f7c5
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# more in README
# more in README
server
{
server
{
listen
443
ssl
;
listen
443
ssl
http2
;
server_name
$
SERVER_NAME
;
server_name
$
SERVER_NAME
;
include
resty
-
server
-
https
.
conf
;
include
resty
-
server
-
https
.
conf
;
...
...
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