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
c9e29338
Unverified
Commit
c9e29338
authored
Nov 22, 2018
by
Jakub Skałecki
Committed by
GitHub
Nov 22, 2018
Browse files
README minor improvement
parent
473d12d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
c9e29338
# docker-nginx-auto-ssl
*The simpliest solution to add SSL to your site*
*The simpliest solution to add SSL
cert
to your site*


...
...
@@ -13,7 +13,7 @@ This is possible thanks to [OpenResty](https://github.com/openresty/openresty) a
# Usage
Quick start to generate and auto-renew certs for
m
y blog / application:
Quick start to generate and auto-renew certs for y
our
blog / application:
```
Bash
# replace these values
...
...
@@ -25,12 +25,13 @@ docker run -d \
--name nginx-auto-ssl \
--restart on-failure \
--network host \
-p 80:80 \
-p 443:443 \
-e ALLOWED_DOMAINS="$DOMAIN" \
-e SITES="$DOMAIN=$APP_ADDRESS" \
-v ssl-data:/etc/resty-auto-ssl \
valian/docker-nginx-auto-ssl
# display logs from container, to check if everything is fine.
docker logs nginx-auto-ssl
```
[
Docker-compose
](
https://docs.docker.com/compose/
)
example:
...
...
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