#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;
        }
    }

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS