タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

uwsgiに関するplansetのブックマーク (2)

  • nginx + uwsgi でアプリケーションをサブディレクトリで動かす設定 - Qiita

    やりたいこと 複数のアプリケーションを、同一の virtualhost 内で動かす。 http://example.com/app1/hello にアクセスすると、 localhost の uwsgi で動いているアプリの /hello に飛ばすとか。 基礎知識 (多分CGI由来の) 3つの重要な変数を理解しましょう。 REQUEST_URI が、ユーザーがアクセスしたホスト名以降のパスです。 SCRIPT_NAME が、アプリが動いている場所です。 CGI だったら .cgi とか php だったら .php とか拡張子があったりします。 PATH_INFO が、 SCRIPT_NAME 以降のパスです。アプリのURLディスパッチャはこの変数を見たりします。 この3つの変数がきちんと設定できていないと、URLディスパッチやリダイレクトが上手く動かない事になります。 デフォルトで用意されて

    nginx + uwsgi でアプリケーションをサブディレクトリで動かす設定 - Qiita
    planset
    planset 2014/05/12
    sub directory
  • Module ngx_http_uwsgi_module

    Makes outgoing connections to a uwsgi server originate from the specified local IP address with an optional port (1.11.2). Parameter value can contain variables (1.3.12). The special value off (1.3.12) cancels the effect of the uwsgi_bind directive inherited from the previous configuration level, which allows the system to auto-assign the local IP address and port. The transparent parameter (1.11.

  • 1