Mercurial > dirlist-php
comparison README.md @ 24:f9588ccb7a42
Add note for optional parameter.
author | edogawaconan <me@myconan.net> |
---|---|
date | Thu, 23 Oct 2014 21:50:52 +0900 |
parents | 949398173ecb |
children | ce92f4d41714 |
comparison
equal
deleted
inserted
replaced
23:949398173ecb | 24:f9588ccb7a42 |
---|---|
6 Basically, add this block | 6 Basically, add this block |
7 | 7 |
8 location @lister { | 8 location @lister { |
9 include fastcgi_params; | 9 include fastcgi_params; |
10 fastcgi_pass unix:/tmp/php-fcgi.sock; | 10 fastcgi_pass unix:/tmp/php-fcgi.sock; |
11 | |
12 // BEGIN -- only when using alias | |
11 uninitialized_variable_warn off; | 13 uninitialized_variable_warn off; |
12 fastcgi_param DL_DIR $dl_dir; | 14 fastcgi_param DL_DIR $dl_dir; |
15 // END ---- only when using alias | |
16 | |
13 fastcgi_param SCRIPT_FILENAME /path/to/index.php; | 17 fastcgi_param SCRIPT_FILENAME /path/to/index.php; |
14 } | 18 } |
15 | 19 |
16 (adjust the path to `index.php` and `php-fcgi`). | 20 (adjust the path to `index.php` and `php-fcgi`). |
17 | 21 |