#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_intercept_errors on;
include fastcgi_params;
}
}