README: add letsencrypt configuration
This commit is contained in:
parent
cf955fc53b
commit
3b4ab05952
3 changed files with 27 additions and 1 deletions
|
|
@ -92,13 +92,16 @@ production néccessite **une installation de Debian Bullseye ou plus récent**.
|
|||
$ sudo chmod g+rwx -R static media
|
||||
```
|
||||
|
||||
3. **Configuration de UWSGI et NGINX.**
|
||||
3. **Configuration de UWSGI, NGINX et Let's Encrypt.**
|
||||
|
||||
```bash
|
||||
$ sudo cp docs/uwsgi_photos.ini /etc/uwsgi/apps-available/uwsgi_photos.ini
|
||||
$ sudo ln -s /etc/uwsgi/apps-available/uwsgi_photos.ini /etc/uwsgi/apps-enabled/
|
||||
$ sudo cp docs/nginx_photos /etc/nginx/sites-available/photos.crans.org
|
||||
$ sudo ln -s /etc/nginx/sites-available/photos.crans.org /etc/nginx/sites-enabled/
|
||||
$ sudo cp docs/letsencrypt_photos.crans.org /etc/letsencrypt/conf.d/photos.crans.org
|
||||
$ sudo cp docs/renewal-hooks_post_nginx /etc/letsencrypt/renewal-hooks/post/nginx
|
||||
$ sudo certbot --config /etc/letsencrypt/conf.d/photos.crans.org.ini certonly
|
||||
```
|
||||
|
||||
4. **Base de données.**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue