mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
import original ngx_http_uwsgi_module version
This commit is contained in:
parent
1a310e39de
commit
3a881d30b5
@ -282,6 +282,11 @@ if [ $HTTP_FASTCGI = YES ]; then
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_FASTCGI_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_UWSGI = YES ]; then
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_UWSGI_MODULE"
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_UWSGI_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_PERL = YES ]; then
|
||||
USE_PERL=YES
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_PERL_MODULE"
|
||||
|
@ -79,6 +79,7 @@ HTTP_REFERER=YES
|
||||
HTTP_REWRITE=YES
|
||||
HTTP_PROXY=YES
|
||||
HTTP_FASTCGI=YES
|
||||
HTTP_UWSGI=YES
|
||||
HTTP_PERL=NO
|
||||
HTTP_MEMCACHED=YES
|
||||
HTTP_LIMIT_ZONE=YES
|
||||
@ -215,6 +216,7 @@ do
|
||||
--without-http_rewrite_module) HTTP_REWRITE=NO ;;
|
||||
--without-http_proxy_module) HTTP_PROXY=NO ;;
|
||||
--without-http_fastcgi_module) HTTP_FASTCGI=NO ;;
|
||||
--without-http_uwsgi_module) HTTP_UWSGI=NO ;;
|
||||
--without-http_memcached_module) HTTP_MEMCACHED=NO ;;
|
||||
--without-http_limit_zone_module) HTTP_LIMIT_ZONE=NO ;;
|
||||
--without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;;
|
||||
@ -348,6 +350,7 @@ cat << END
|
||||
--without-http_rewrite_module disable ngx_http_rewrite_module
|
||||
--without-http_proxy_module disable ngx_http_proxy_module
|
||||
--without-http_fastcgi_module disable ngx_http_fastcgi_module
|
||||
--without-http_uwsgi_module disable ngx_http_uwsgi_module
|
||||
--without-http_memcached_module disable ngx_http_memcached_module
|
||||
--without-http_limit_zone_module disable ngx_http_limit_zone_module
|
||||
--without-http_limit_req_module disable ngx_http_limit_req_module
|
||||
|
@ -412,6 +412,10 @@ HTTP_FASTCGI_MODULE=ngx_http_fastcgi_module
|
||||
HTTP_FASTCGI_SRCS=src/http/modules/ngx_http_fastcgi_module.c
|
||||
|
||||
|
||||
HTTP_UWSGI_MODULE=ngx_http_uwsgi_module
|
||||
HTTP_UWSGI_SRCS=src/http/modules/ngx_http_uwsgi_module.c
|
||||
|
||||
|
||||
HTTP_PERL_MODULE=ngx_http_perl_module
|
||||
HTTP_PERL_INCS=src/http/modules/perl
|
||||
HTTP_PERL_DEPS=src/http/modules/perl/ngx_http_perl_module.h
|
||||
|
15
conf/uwsgi_params
Normal file
15
conf/uwsgi_params
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
uwsgi_param QUERY_STRING $query_string;
|
||||
uwsgi_param REQUEST_METHOD $request_method;
|
||||
uwsgi_param CONTENT_TYPE $content_type;
|
||||
uwsgi_param CONTENT_LENGTH $content_length;
|
||||
|
||||
uwsgi_param REQUEST_URI $request_uri;
|
||||
uwsgi_param PATH_INFO $document_uri;
|
||||
uwsgi_param DOCUMENT_ROOT $document_root;
|
||||
uwsgi_param SERVER_PROTOCOL $server_protocol;
|
||||
|
||||
uwsgi_param REMOTE_ADDR $remote_addr;
|
||||
uwsgi_param REMOTE_PORT $remote_port;
|
||||
uwsgi_param SERVER_PORT $server_port;
|
||||
uwsgi_param SERVER_NAME $server_name;
|
1653
src/http/modules/ngx_http_uwsgi_module.c
Normal file
1653
src/http/modules/ngx_http_uwsgi_module.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user