You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ This repository to create Nginx, Php-fpm and MySQL/PostgreSQL stack with Certbot
9
9
```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.
2. Clone this repository: ``` git clone https://github.com/tobing/nginx-certbot-php-mysql-docker.git```
15
15
16
16
3. Modify configuration:
17
-
- Add domains and email addresses to init-letsencrypt.sh
17
+
- Add domains and email addresses to ```init-letsencrypt.sh```
18
18
- Replace all occurrences of example.org with primary domain in ```/nginx/app.conf``` and ```/nginx.localhost/app.conf```
19
19
- 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
20
20
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