タグ

nginxとfastcgiに関するwozozoのブックマーク (2)

  • NGINX + FastCGI + Django | Herman Bos

    Nice things that work remarkably easy make me happy. 1) Start Django app python manage.py runfcgi host=0.0.0.0 port=8000 2) Install NGINX apt-get install nginx 3) Configure NGINX The tab indentation got lost but ok: server { listen 80; server_name example.com; access_log /var/log/nginx/example.com.access.log; location / { fastcgi_pass 127.0.0.1:8000; fastcgi_param PATH_INFO $fastcgi_script_

  • fastcgiでmercurial on nginx — nagosui.org

    mercurialには、特定のディレクトリにある複数のリポジトリをウェブに公開するためのcgi・fcgiスクリプトが付属しています。このスクリプトを使って、nginxの後ろにあるmercurialリポジトリにwebアクセスできるように設定してみたいと思いました。 複数のリポジトリを丸ごと公開するfcgi用のスクリプトはmercurialのtarballのcontribディレクトリなどにある「hgwebdir.fcgi」というスクリプトです。このスクリプトをfcgiのプロセスとして実行することで、webから公開ディレクトリにアクセスすることができるようになります。このスクリプトの設定ファイルとして「hgweb.config」というファイルを使います。 hgwebdir.fcgiを使う hgwebdir.fcgiを使うために、hgwebdir.fcgiとhgweb.configを設定し、

  • 1