- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2019-01-19T14:56:40+00:00","default:kazuma","kazuma")
#author("2019-01-19T14:57:01+00:00","default:kazuma","kazuma")
[[nginx]]
* nginx の conf [#r18a6298]
location /test2 {
alias /var/www/html/hogejp/test2;
index index.php;
if (!-e $request_filename) {
rewrite ^/test2(.+)$ /test2/index.php?q=$1 last;
break;
}
location ~ ^/test2/.+\.php$ {
fastcgi_pass 127.0.0.1:9002;
fastcgi_index index.php;
fastcgi_split_path_info ^/jc8xzj(.+\.php)(.*)$;
fastcgi_param SCRIPT_FILENAME
/var/www/html/hoge.jp/test2$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /var/www/html/hoge.jp/test2$fastcgi_script_name;
fastcgi_intercept_errors on;
include fastcgi_params;
}
}