nginx

nginx の conf

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

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-06-30 (木) 01:40:11