Nginx
De Hack-it.org.
T2 (discuter | contributions) (→Foutre php) |
T2 (discuter | contributions) |
||
Ligne 1 : | Ligne 1 : | ||
* http://wiki.nginx.org/NginxFr | * http://wiki.nginx.org/NginxFr | ||
* http://wiki.nginx.org/NginxChsHttpCoreModule#error_page | * http://wiki.nginx.org/NginxChsHttpCoreModule#error_page | ||
- | + | * http://svn.nicolargo.com/debianpostinstall/trunk/nginxautoinstall.sh | |
==Setup== | ==Setup== | ||
===Cacher la version=== | ===Cacher la version=== | ||
Ligne 7 : | Ligne 7 : | ||
===PHP-FPM=== | ===PHP-FPM=== | ||
* Pour Debian : http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian | * Pour Debian : http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian | ||
+ | * squeeze http://www.codernotes.com/2011/7/install-nginx-and-php-fpm-on-debian-6-squeeze-2/ | ||
+ | |||
+ | ==Vhosts== | ||
+ | * Enable directory listing | ||
+ | autoindex on; | ||
===URL Rewriting=== | ===URL Rewriting=== | ||
http://wiki.nginx.org/NginxHttpRewriteModule | http://wiki.nginx.org/NginxHttpRewriteModule | ||
+ | * Da ligne pour rewriter wordpress : | ||
+ | # catch all | ||
+ | error_page 404 /index.php; | ||
+ | |||
+ | ===?=== | ||
+ | * naxsi |