bugfix
correction mkdocs.yml lignes solus
Error parsing yaml file: mapping values are not allowed here
- Solus:
- Index: solus/index.md
- Apache: solus/apache.md
- PHP: solus/php.md
au lieu de:
- Solus:
- Index: solus/index.md
- Apache: solus/apache.md
- PHP: solus/php.md
This commit is contained in:
@@ -89,6 +89,14 @@ bruno@MintBook:/etc/nginx$ tree
|
|||||||
|
|
||||||
**Configuration:**
|
**Configuration:**
|
||||||
|
|
||||||
|
Le fichier `/etc/nginx/nginx.conf` contient la configuration générale de nginx.
|
||||||
|
|
||||||
|
```nginx
|
||||||
|
user www-data;
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Créer un fichier qui contiendra les configurations du site dans le répertoire `/etc/nginx/sites-available/`.
|
Créer un fichier qui contiendra les configurations du site dans le répertoire `/etc/nginx/sites-available/`.
|
||||||
Le dossier contient déjà un fichier par défaut: `/etc/nginx/sites-available/default`
|
Le dossier contient déjà un fichier par défaut: `/etc/nginx/sites-available/default`
|
||||||
|
|
||||||
@@ -169,6 +177,14 @@ server {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Donner les droits à Nginx pour le dossuier root:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ sudo chown -R www-data:www-data /home/bruno/Sites
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Déclarer le socket Unix de PHP-FPM au niveau de Nginx: il faut modifier ou créer le fichier `/etc/nginx/conf.d/php7-fpm.conf`
|
Déclarer le socket Unix de PHP-FPM au niveau de Nginx: il faut modifier ou créer le fichier `/etc/nginx/conf.d/php7-fpm.conf`
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
@@ -257,6 +273,12 @@ $ systemctl status nginx
|
|||||||
|
|
||||||
#### HTTPS:
|
#### HTTPS:
|
||||||
|
|
||||||
|
https://linoxide.com/linux-how-to/create-self-signed-ssl-certificate-nginx-ubuntu/
|
||||||
|
|
||||||
|
https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-18-04
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Créer une clé et un certificat. auto-signé:**
|
**Créer une clé et un certificat. auto-signé:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -144,8 +144,8 @@ nav:
|
|||||||
- Scripts: Synology/scripts.md
|
- Scripts: Synology/scripts.md
|
||||||
- Solus:
|
- Solus:
|
||||||
- Index: solus/index.md
|
- Index: solus/index.md
|
||||||
- Apache: solus/apache.md
|
- Apache: solus/apache.md
|
||||||
- PHP: solus/php.md
|
- PHP: solus/php.md
|
||||||
- Divers:
|
- Divers:
|
||||||
- Index: Divers/index.md
|
- Index: Divers/index.md
|
||||||
- batch:
|
- batch:
|
||||||
|
|||||||
Reference in New Issue
Block a user