meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
nslu2:nginx-switch [2012/10/05 00:03] ztrulphcs créée |
nslu2:nginx-switch [2014/01/01 19:48] (Version actuelle) ztrulphcs [start/stop php-fastcgi] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Passage de lighttp à nginx ====== | ====== Passage de lighttp à nginx ====== | ||
+ | <WRAP box fgblack 4cm right :en> | ||
+ | [[mybuild# | ||
+ | </ | ||
Bon, ben voilà. Quand on **POST**e des fomulaires un peu gros (des fichiers par exemple) vers le slug via curl, et que le serveur est lighttpd < 1.5, alors on a ce genre de réponse de la part de lighttpd : | Bon, ben voilà. Quand on **POST**e des fomulaires un peu gros (des fichiers par exemple) vers le slug via curl, et que le serveur est lighttpd < 1.5, alors on a ce genre de réponse de la part de lighttpd : | ||
Ligne 64: | Ligne 67: | ||
Et bien, la machine est préparée, on a tout sous la main pour y aller. Il faut juste choisir avant de se lancer le répertoire d' | Et bien, la machine est préparée, on a tout sous la main pour y aller. Il faut juste choisir avant de se lancer le répertoire d' | ||
- | |||
- | J' | ||
J' | J' | ||
Ligne 948: | Ligne 949: | ||
nslu2 $ prefix=/ | nslu2 $ prefix=/ | ||
nslu2 $ time ./configure \ | nslu2 $ time ./configure \ | ||
- | --prefix=/ | + | > --prefix=/ |
- | --user=www-data \ | + | > --user=www-data \ |
- | --group=www-data \ | + | > --group=www-data \ |
- | --with-cc-opt=" | + | > --with-cc-opt=" |
- | --with-ld-opt=" | + | > --with-ld-opt=" |
- | --with-file-aio \ | + | > --with-file-aio \ |
- | --with-http_ssl_module \ | + | > --with-http_ssl_module \ |
- | --with-http_dav_module \ | + | > --with-http_dav_module \ |
- | --without-http_ssi_module \ | + | > --without-http_ssi_module \ |
- | --without-http_proxy_module \ | + | > --without-http_proxy_module \ |
- | --without-http_uwsgi_module \ | + | > --without-http_uwsgi_module \ |
- | --without-http_scgi_module \ | + | > --without-http_scgi_module \ |
- | --without-http_limit_conn_module \ | + | > --without-http_limit_conn_module \ |
- | --without-http_limit_req_module \ | + | > --without-http_limit_req_module \ |
- | --add-module=/ | + | > --add-module=/ |
nslu2 $ time make | nslu2 $ time make | ||
nslu2 $ time make install | nslu2 $ time make install | ||
Ligne 978: | Ligne 979: | ||
nslu2 $ prefix=/ | nslu2 $ prefix=/ | ||
nslu2 $ time ./configure \ | nslu2 $ time ./configure \ | ||
- | --prefix=/ | + | > --prefix=/ |
- | --user=www-data \ | + | > --user=www-data \ |
- | --group=www-data \ | + | > --group=www-data \ |
- | --with-cc-opt=" | + | > --with-cc-opt=" |
- | --with-ld-opt=" | + | > --with-ld-opt=" |
- | --with-file-aio \ | + | > --with-file-aio \ |
- | --with-http_ssl_module \ | + | > --with-http_ssl_module \ |
- | --with-http_dav_module \ | + | > --with-http_dav_module \ |
- | --without-http_ssi_module \ | + | > --without-http_ssi_module \ |
- | --without-http_proxy_module \ | + | > --without-http_proxy_module \ |
- | --without-http_uwsgi_module \ | + | > --without-http_uwsgi_module \ |
- | --without-http_scgi_module \ | + | > --without-http_scgi_module \ |
- | --without-http_limit_conn_module \ | + | > --without-http_limit_conn_module \ |
- | --without-http_limit_req_module \ | + | > --without-http_limit_req_module \ |
- | --add-module=/ | + | > --add-module=/ |
checking for OS | checking for OS | ||
+ Linux 2.6.27.8 armv5teb | + Linux 2.6.27.8 armv5teb | ||
Ligne 1778: | Ligne 1779: | ||
</ | </ | ||
- | Le script est inspiré du script de [http:// | + | Le script est inspiré du script de [[http:// |
<file bash / | <file bash / |