uWSGI x Nginx でユーザをトラッキングする
nginx で lighttpd のようにユーザーをトラッキングする方法 - unknownplace.org
uWSGI でこれをやりたいときは proxy_hide_header
じゃなくて uwsgi_hide_header
を使う。
こんな感じ。
location / { include uwsgi_params; uwsgi_proxy_pass 127.0.0.0:5000; uwsgi_hide_header X-MyApp-User; }
HttpUwsgiModule - Nginx Community
uWSGI モジュールとか特にそんなん気にせず使ってた。。
勉強なりました。