mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 16:54:26 +01:00
Update readme
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
6c244e3e68
commit
2f03b7e120
10
README.md
10
README.md
@ -64,19 +64,19 @@ find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/b
|
|||||||
Keep original config file
|
Keep original config file
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cp -r nginx-conf nginx-conf-original
|
cp -r nginx/conf.d nginx/conf.d-original
|
||||||
```
|
```
|
||||||
|
|
||||||
Remove the old config file
|
Remove the old config file
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
rm -fr nginx-conf
|
rm -fr nginx/nginx-conf
|
||||||
```
|
```
|
||||||
|
|
||||||
Copy _nginx-conf-cert_ to _nginx-conf_, for temporary use to get the SSL certificate
|
Copy _nginx-conf-cert_ to _nginx-conf_, for temporary use to get the SSL certificate
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cp -r nginx-conf-cert nginx-conf
|
cp -r nginx/conf.d-cert nginx/conf.d
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace certbot commands in _docker-compose.yml_, and replace _bensuperpc.org_ by your domain
|
Replace certbot commands in _docker-compose.yml_, and replace _bensuperpc.org_ by your domain
|
||||||
@ -118,13 +118,13 @@ command: certonly --webroot --webroot-path=/var/www/html --email bensuperpc@bens
|
|||||||
Remove the cert config file
|
Remove the cert config file
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
rm -fr nginx-conf
|
rm -fr nginx/conf.d
|
||||||
```
|
```
|
||||||
|
|
||||||
Copy _nginx-conf-original_ to _nginx-conf_, for definitive use
|
Copy _nginx-conf-original_ to _nginx-conf_, for definitive use
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cp -r nginx-conf-original nginx-conf
|
cp -r nginx/conf.d-original nginx/conf.d
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you start services
|
Now you start services
|
||||||
|
Loading…
Reference in New Issue
Block a user