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:
2019-06-10 20:23:30 +02:00
parent 92506212ac
commit 2f482c1d87
2 changed files with 24 additions and 2 deletions

View File

@@ -89,6 +89,14 @@ bruno@MintBook:/etc/nginx$ tree
**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/`.
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`
```nginx
@@ -257,6 +273,12 @@ $ systemctl status nginx
#### 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é:**
```bash

View File

@@ -144,8 +144,8 @@ nav:
- Scripts: Synology/scripts.md
- Solus:
- Index: solus/index.md
- Apache: solus/apache.md
- PHP: solus/php.md
- Apache: solus/apache.md
- PHP: solus/php.md
- Divers:
- Index: Divers/index.md
- batch: