備忘録 Flextype on Nginx
FlextypeはFlat-File的な、DBレスなのでサーバーに置くだけで動くタイプのCMS。
InstallationのページにはApacheのことしか書いてなかったのでメモ。
今回はサブフォルダーに置きます。
/flextype/index.php
という感じ。
1.Flextypeをwgetしてunzip
$ wget https://github.com/flextype/flextype/releases/download/v0.8.3/flextype-0.8.3.zip $ unzip flextype*.zip
2.権限を付与する
$ chmod -R 0777 site/
3.Nginxのconfを編集
location /flextype { index index.php index.html; try_files $uri $uri/ /flextype/index.php?$args; }
おつでした〜