Commit 19d0f7c5 authored by Jakub Skałecki's avatar Jakub Skałecki
Browse files

added support for HTTP/2 issue #8

parent c9e29338
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
![build](https://img.shields.io/docker/build/valian/docker-nginx-auto-ssl.svg) ![build](https://img.shields.io/docker/build/valian/docker-nginx-auto-ssl.svg)
![build](https://img.shields.io/docker/pulls/valian/docker-nginx-auto-ssl.svg) ![build](https://img.shields.io/docker/pulls/valian/docker-nginx-auto-ssl.svg)
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).
......
# 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;
......
...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment