Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 341cd3c

Browse files
authored
Update README.md
1 parent c616317 commit 341cd3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ This repository to create Nginx, Php-fpm and MySQL/PostgreSQL stack with Certbot
99
```init-letsencrypt.sh``` fetches and ensures the renewal of a Let’s Encrypt certificate for one or multiple domains in a docker-compose setup with nginx. This is useful when you need to set up nginx as a reverse proxy for an application.
1010

1111
## Installation
12-
1. Install docker-compose.
12+
1. [Install docker-compose.](https://docs.docker.com/compose/install/#install-compose)
1313

1414
2. Clone this repository: ``` git clone https://github.com/tobing/nginx-certbot-php-mysql-docker.git```
1515

1616
3. Modify configuration:
17-
- Add domains and email addresses to init-letsencrypt.sh
17+
- Add domains and email addresses to ```init-letsencrypt.sh```
1818
- Replace all occurrences of example.org with primary domain in ```/nginx/app.conf``` and ```/nginx.localhost/app.conf```
1919
- Uncomment ```- ./nginx.localhost:/etc/nginx/conf.d``` and comment ```- ./nginx:/etc/nginx/conf.d``` in docker-compose.yml file. This setting to generate certificate for the first time
2020
4. Run the init script: ```./init-letsencrypt.sh``` (set staging=1 for testing your setup to avoid Let's Encrypt request limits)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /