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
19315b57
Unverified
Commit
19315b57
authored
Nov 22, 2018
by
Jakub Skałecki
Committed by
GitHub
Nov 22, 2018
Browse files
Merge pull request #11 from Valian/https2-support
added support for HTTP/2
parents
c9e29338
19d0f7c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
19315b57
...
...
@@ -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.
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 @
19315b57
# default open resty blank configuration, just to show that it's working
server
{
listen
443
ssl
default_server
;
listen
443
ssl
http2
default_server
;
include
resty
-
server
-
https
.
conf
;
...
...
snippets/server-proxy.conf
View file @
19315b57
...
...
@@ -3,7 +3,7 @@
# more in README
server
{
listen
443
ssl
;
listen
443
ssl
http2
;
server_name
$
SERVER_NAME
;
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