mirror of
https://github.com/wmnnd/nginx-certbot
synced 2023-04-20 18:47:46 +08:00
Improve punctuation and grammar in README
This commit is contained in:
parent
3ce9a291b9
commit
a939c9f5de
14
README.md
14
README.md
@ -3,14 +3,14 @@
|
|||||||
> This repository is accompanied by a [step-by-step guide on how to
|
> This repository is accompanied by a [step-by-step guide on how to
|
||||||
set up nginx and Let’s Encrypt with Docker](https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71).
|
set up nginx and Let’s Encrypt with Docker](https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71).
|
||||||
|
|
||||||
`init-letsencrypt.sh` fetches ensures renewal of a Let’s Encrypt
|
`init-letsencrypt.sh` fetches and ensures the renewal of a Let’s
|
||||||
certificate for one or multiple domains in a docker-compose setup with
|
Encrypt certificate for one or multiple domains in a docker-compose
|
||||||
nginx.
|
setup with nginx.
|
||||||
This is useful when you need to set up nginx as a reverse proxy for an
|
This is useful when you need to set up nginx as a reverse proxy for an
|
||||||
application.
|
application.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
1. [Install docker-compose](https://docs.docker.com/compose/install/#install-compose)
|
1. [Install docker-compose](https://docs.docker.com/compose/install/#install-compose).
|
||||||
|
|
||||||
2. Clone this repository: `git clone https://github.com/wmnnd/nginx-certbot.git .`
|
2. Clone this repository: `git clone https://github.com/wmnnd/nginx-certbot.git .`
|
||||||
|
|
||||||
@ -18,13 +18,13 @@ application.
|
|||||||
- Add domains and email addresses to init-letsencrypt.sh
|
- Add domains and email addresses to init-letsencrypt.sh
|
||||||
- Replace all occurrences of example.org with primary domain (the first one you added to init-letsencrypt.sh) in data/nginx/app.conf
|
- Replace all occurrences of example.org with primary domain (the first one you added to init-letsencrypt.sh) in data/nginx/app.conf
|
||||||
|
|
||||||
4. Run init the script
|
4. Run init the script:
|
||||||
```
|
```
|
||||||
chmod +x ./init-letsencrypt.sh
|
chmod +x ./init-letsencrypt.sh
|
||||||
sudo ./init-letsencrypt.sh
|
./init-letsencrypt.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Run server
|
5. Run server:
|
||||||
`docker-compose up`
|
`docker-compose up`
|
||||||
|
|
||||||
## Got questions?
|
## Got questions?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user