lumo:creation_complete_du_plugin_dokuwiki:accueil
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| lumo:creation_complete_du_plugin_dokuwiki:accueil [2026/03/12 10:53] – estro | lumo:creation_complete_du_plugin_dokuwiki:accueil [2026/03/12 11:11] (Version actuelle) – estro | ||
|---|---|---|---|
| Ligne 2: | Ligne 2: | ||
| [[./ | [[./ | ||
| ---- | ---- | ||
| - | ===== Structure du Plugin | + | <adm example Structure du Plugin> |
| + | ==== Structure du Plugin ==== | ||
| < | < | ||
| / | / | ||
| Ligne 11: | Ligne 12: | ||
| └── manifest.ini | └── manifest.ini | ||
| </ | </ | ||
| + | </ | ||
| {{page> | {{page> | ||
| {{page> | {{page> | ||
| Ligne 16: | Ligne 18: | ||
| {{page> | {{page> | ||
| {{page> | {{page> | ||
| - | <adm achievement | + | {{page>6. Configuration Nginx Complète}} |
| - | ++++code php| | + | {{page>7. Installation et Permissions }} |
| - | <code php> | + | {{page>8. Utilisation dans DokuWiki |
| - | server { | + | {{page>9. Fichier de Configuration (conf/default.php) }} |
| - | listen 80; | + | |
| - | server_name wiki.votre-domaine.com; | + | |
| - | root / | + | |
| - | index index.php; | + | |
| - | + | ||
| - | # Sécurité générale | + | |
| - | add_header X-Content-Type-Options nosniff; | + | |
| - | add_header X-Frame-Options SAMEORIGIN; | + | |
| - | add_header X-XSS-Protection "1; mode=block"; | + | |
| - | + | ||
| - | # DokuWiki principal | + | |
| - | location / { | + | |
| - | try_files $uri $uri/ @dokuwiki; | + | |
| - | } | + | |
| - | + | ||
| - | location @dokuwiki | + | |
| - | fastcgi_pass unix:/ | + | |
| - | include fastcgi_params; | + | |
| - | fastcgi_param SCRIPT_FILENAME $document_root/ | + | |
| - | fastcgi_param HTTPS off; | + | |
| - | | + | |
| - | + | ||
| - | # Protection des fichiers sensibles | + | |
| - | location ~* ^/ | + | |
| - | deny all; | + | |
| - | return 403; | + | |
| - | | + | |
| - | + | ||
| - | # Protection des scripts bash | + | |
| - | location ~* \.sh$ { | + | |
| - | deny all; | + | |
| - | return 403; | + | |
| - | } | + | |
| - | + | ||
| - | # Rate limiting pour l' | + | |
| - | limit_req_zone $binary_remote_addr zone=bashexec: | + | |
| - | + | ||
| - | location / | + | |
| - | limit_req zone=bashexec burst=2 nodelay; | + | |
| - | fastcgi_pass unix:/ | + | |
| - | include fastcgi_params; | + | |
| - | fastcgi_param SCRIPT_FILENAME $document_root/index.php; | + | |
| - | | + | |
| - | + | ||
| - | # Logs spécifiques | + | |
| - | access_log / | + | |
| - | } | + | |
| - | </ | + | |
| - | ++++ | + | |
| - | </ | + | |
| - | <adm achievement> | + | |
| - | ++++code conf| | + | |
| - | <code conf> | + | |
| - | </ | ||
| - | ++++ | ||
| - | </ | ||
lumo/creation_complete_du_plugin_dokuwiki/accueil.1773312826.txt.gz · Dernière modification : de estro
