3rdPartyModulesFr
m (Poursuite de la traduction) |
(→Third party patches) |
||
| Line 417: | Line 417: | ||
| DeepFryed | | DeepFryed | ||
| [[File:redirect_modified.patch|redirect_modified.patch]] | [[File:redirect_modified_readme.txt|README.txt]] | | [[File:redirect_modified.patch|redirect_modified.patch]] | [[File:redirect_modified_readme.txt|README.txt]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| Log to syslog. | | Log to syslog. | ||
| Line 434: | Line 430: | ||
| [http://github.com/shrimp/no-pool-nginx Git repository for the patch] | | [http://github.com/shrimp/no-pool-nginx Git repository for the patch] | ||
|} | |} | ||
| − | |||
= References = | = References = | ||
* [http://github.com/search?type=Repositories&language=c&q=nginx&repo=&langOverride=&x=13&y=17&start_value=1 github search] | * [http://github.com/search?type=Repositories&language=c&q=nginx&repo=&langOverride=&x=13&y=17&start_value=1 github search] | ||
Latest revision as of 00:18, 9 February 2012
Contents |
[edit] Modules de tiers
Ces modules ne sont pas officiellement supportés. Néanmoins beaucoup d'entre eux se sont montrés utiles pour beaucoup de gens. Appréciez à vos risques et périls.
[edit] Compilation des modules de tiers
Les modules sont typiquement ajoutés en les compilant avec les sources Nginx.
Dans le répertoire source de Nginx, tapez :
./configure --add-module=/path/to/module1/source \
--add-module=/path/to/module2/source
Vous pouvez utiliser autant d'arguments --add-module que nécesaire.
Soyez conscient que certains modules peuvent nécessiter des bibliothèques complémentaires pour être installés sur votre système.
[edit] Ecrire votre propre module
Evan Miller a écrit le guide definitif du développement de module Nginx. Mais certaines de ses parties sont un petit peu dépassées. Vous avez été prévenu.
Une recherche github a révélé le Kit de développement Nginx. Il semble être plus à jour.
Consultez aussi les outils en bas de cette page.
[edit] Known modules
| Nom | Description | Auteur | Lien |
|---|---|---|---|
| Accept Language | Analyse la directive Accept-Language de l'entête et donne la locale la plus adaptée à partir d'une liste des locales supportées.
|
Guillaume Maury | Télécharger |
| Access Key | Interdit l’accès à moins que l'URL demandée ne contienne une clef d’accès. | Mykola Grechukh | Télécharger |
| AFCGI | Asynchronous/multiplexing FastCGI pour Nginx (inclut une implémentation de serveur de référence) | rsms | Télécharger |
| Array Var | Ajoute le support pour des variables tableaux aux fichiers de configuration de Nginx | agentzh | Télécharger |
| Auth PAM | Authentification HTTP Basique utilisant PAM. | Sergio Talens-Oliag | Télécharger |
| Auth Request | Permet une autorisation basée sur le résultat d'une sous-requête. | Maxim Dounin | Télécharger |
| Auto Lib | Réutilise des versions pré-compilées/installées d'OpenSSL, PCRE, et Zlib sans les recompiler à chaque fois que Nginx est compilé | Marcus Clyne | Télécharger |
| AWS auth | Génère des en-têtes de sécurité pour les requêtes GET vers Amazon S3. | Arvind Jayaprakash | Télécharger |
| Cache Purge | Module ajoutant la possibilité de vider le contenu des caches de FastCGI, proxy et uWSGI. | FRiCKLE | Télécharger |
| Chunkin | Support des requêtes HTTP 1.1 chunked-encoding pour Nginx. | agentzh | Télécharger |
| Circle GIF | Génère des images de cercles simples avec les couleurs et la taille spécifiés dans l'URL.. | Evan Miller | Télécharger |
| Development Kit | Une extension aux fonctionnalités principales de Nginx qui peut être utilisée comme base pour d'autres modules | Marcus Clyne | Télécharger |
| Drizzle | Fait parler Nginx directement à mysql et drizzle par libdrizzle. | chaoslawful, agentzh | Télécharger |
| Dynamic etags | Module Nginx pour etags sur contenu dynamique | kali | Télécharger |
| Echo | Ajoute "echo", "sleep", "time", "exec", et d'autres joyeusetés du terminal au fichier de configuration de Nginx. | agentzh | Télécharger |
| Encrypted Session | chiffre et déchiffre les valeurs des variables nginx, peut ête utilisé comme authentification légère à base de session | agentzh | Télécharger |
| Eval | Un module pour évaluer une réponse memcached ou proxy dans une variable. | vkholodkov | Télécharger |
| Eval (agentzh's fork) | ngx_eval amélioré qui peut capturer les réponses de sous-requêtes arbitraires dans des variables nginx (même avec les filtres de sortie activés) | agentzh | Télécharger |
| Expressz | Premier de la ligne des modules Expressz, déchargeant la compression d'image et de flux/fichier vers un(des) GPU(s). | Jason Giedymin at AcronymLabs | |
| EY Balancer | Ajoute une queue de requête à Nginx qui permet de limiter le nombre de requêtes concurrentes passée en amont. | Ry Dahl | Télécharger |
| Fancy Indexes | Comme le module intégré autoindex, mais en plus original. | Adrian Perez de Castro | Télécharger |
| Form Input | This module reads HTTP POST request body and parse the arguments into nginx variables. | Calio, agentzh | Télécharger |
| GeoIP | Country code lookups via the MaxMind GeoIP API. | SPIL GAMES | File:Nginx-geoip-0.2.tar.gz |
| GridFS | Nginx module for serving files from MongoDB's GridFS. | mdirolf | Télécharger |
| Headers More | Set and clear input and output headers...more than "add"! | agentzh | Télécharger |
| HTTP Healthcheck | Health check HTTP servers inside an upstream so you don't forward requests to bad hosts | Jack Lindamood | |
| HTTP Accounting | Add netflow monitor and status code counter function to nginx. Useful for http accounting based on nginx configuration logic ( location or anything else). | Lantao Liu | Télécharger |
| HTTP Push | Turn Nginx into an adept long-polling HTTP Push (Comet) server. | Leo Ponomarev | Télécharger |
| HTTP Push Stream | Turn Nginx into an adept stream HTTP Push (Comet) server. | Wandenberg Peixoto | Télécharger |
| HTTP Redis | Redis support. | Sergey A. Osokin <osa@FreeBSD.ORG.ru> | Télécharger |
| JavaScript | Embedding SpiderMonkey. Full port of Perl module and more. | Peter Leonov | Télécharger |
| Iconv | A character encoding conversion nginx module using libiconv. | Calio, agentzh | Télécharger |
| Image Hacker | On the fly image manipulation ala amazon's image server | aaronbatalion | Télécharger |
| Log Request Speed | Log the time it took to process each request. | Mauro Stettler | |
| Lua | Embed the power of Lua into nginx | chaoslawful, agentzh | Télécharger |
| Luafile | Embed the power of Lua into nginx very easy. | alacner | Télécharger |
| Memc | An extended version of the standard memcached module that supports set, add, delete, and many more memcached commands. | agentzh | Télécharger |
| Mogilefs | Implements a MogileFS client, provides a replace to the Perlbal reverse proxy of the original MogileFS. | Valery Kholodkov | Télécharger |
| MP4 Streaming Lite | Will seek to a certain time within H.264/MP4 files when provided with a "start" parameter in the URL. | Jiang Hong | Télécharger |
| Notice | Serve static file to POST requests. | Keith Rarick | Télécharger |
| OwnerMatch | This module provides a simple file owner-based access control. | Heiher | Télécharger |
| PHP Session Parser | Extract values that are stored in a serialized PHP session | Mauro Stettler | Télécharger |
| Postgres | Upstream module that allows nginx to communicate directly with PostgreSQL database. | FRiCKLE | Télécharger |
| Pubcookie | Adds Pubcookie-based cross-site authentication method to Nginx. | Vitki | Télécharger |
| RDS JSON | Help ngx_drizzle and other DBD modules emit JSON data. | agentzh | Télécharger |
| Redis2 | Upstream module for the full Redis 2.0 protocol | agentzh | Télécharger |
| Roboo | HTTP Robot mitigator utilizing advanced non-interactive HTTP challenge/response mechanisms | Yuri Gushin, Alex Behar | Télécharger |
| RRD Graph | This module provides an HTTP interface to RRDtool's graphing facilities. | Evan Miller | Télécharger |
| SCGI | SCGI implementation for Nginx. | Manlio Perillo | Télécharger |
| Secure Download | Create expiring links. | Mauro Stettler, Szymon Modzelewski | Télécharger |
| Set CConv | Conversion between Simplified Chinese and Traditional Chinese at rewrite phase | Liseen Wan | Télécharger |
| Set Hash | Set a variable to a variety of hash functions (upper/lowercase), including MD5, SHA1 and Murmurhash 2 | Marcus Clyne | Télécharger |
| Set Lang | Set a variable to indicate the language based on a variety of sources including cookies, GET/POST variables, Accept Language header and more | Marcus Clyne | Télécharger |
| Set Misc | Various set_xxx directives added to nginx's rewrite module (md5/sha1, sql/json quoting, and many more) | agentzh, Calio, shrimp | Télécharger |
| sFlow | Operational performance monitoring with standard sFlow protocol | Neil McKee | Télécharger |
| SlowFS Cache | Module adding ability to cache static files. | FRiCKLE | Télécharger |
| SR Cache | Transparent subrequest-based caching layout for arbitrary nginx locations (can be used with ngx_memc + memcached!) | agentzh | Télécharger |
| Static etags | Nginx doesn't generate etags for static content. I'd like it to. Let's see if I can remember some C from college. | mikewest | Télécharger |
| Strip | Whitespace remover. | Evan Miller | File:Mod strip-0.1.tar.gz |
| Substitutions | A filter module which can do both regular expression and fixed string substitutions on response bodies. | Weibin Yao | Télécharger |
| Supervisord | Module providing nginx with API to communicate with supervisord and manage (start/stop) backends on-demand. | FRiCKLE | Télécharger |
| Upload | Parses multipart/form-data allowing arbitrary handling of uploaded files.
|
Valery Kholodkov | Télécharger |
| Upload Progress | Tracks and reports upload progress. | Brice Figureau | Télécharger |
| Upstream Consistent Hash | Select backend based on Consistent hash ring. | Mauro Stettler | Télécharger |
| Upstream Fair Balancer | Sends an incoming request to the least-busy backend server, rather than distributing requests round-robin. | Gregory Nosek | Télécharger |
| Upstream Hash | Provides simple upstream load distribution by hashing a configurable variable. | Evan Miller | Télécharger |
| Upstream Keepalive | Provides keep-alive connections to memcached upstreams. | Maxim Dounin | Télécharger |
| WSGI | WSGI implementation for Nginx. Allows easy deployment of Python applications. | Manlio Perillo | Télécharger |
| XSS | Native support for cross-site scripting (XSS) in an nginx. | agentzh | Télécharger |
| Zip | Assemble ZIP archives on the fly. | Evan Miller | Télécharger |
[edit] Tools for module developers
| Name | Description | Author | Link |
|---|---|---|---|
| Nginx Auto Lib Core | Reusable file for module developers to include with their modules to easily and consistently handle including external libraries; used in the Auto Lib module and included in the Nginx Development Kit | Marcus Clyne | Télécharger |
| Nginx Development Kit | An extension to the core functionality of Nginx which can be used as a basis for other modules | Marcus Clyne | Télécharger |
[edit] Third party patches
These patches must be applied to the Nginx source code tree. There's no guarantee these patches will apply to a particular version of Nginx.
As with third party modules, these patches are not officially supported. Your mileage may vary.
| Description | Author | Link |
|---|---|---|
| Set Real IP header to any variable. | Joaquin Cuenca Abela | File:Realip.patch |
| Redirect to static file based on its freshness. | DeepFryed | File:Redirect modified.patch | File:Redirect modified readme.txt |
| Log to syslog. | Marlon de Boer | File:Syslog.patch (0.6.35) | File:Syslog 0.6.35 sh is not bash.patch | Patch against 0.8.4 (works on 0.7.x and 0.8.x) | Patch for version 0.8.49 with 'sh is not bash' fix |
| Get client cert due date | SunGod | File:Nginx-0.7.67.ssl cert date.patch.txt |
| Disable nginx's memory pool to help valgrind and other tools (for nginx C developers only) | shrimp, agentzh | Git repository for the patch |










