nginx代理
一、代理的方式
1、正向代理
找完代理之后,还需要找服务器 应用:VPN
2、反向代理
只需要找代理,不需要找服务器 应用:负载均衡
二、nginx代理服务支持的协议
ngx_http_uwsgi_module :Python
ngx_http_fastcgi_module :PHP
ngx_http_scgi_module :Java
ngx_http_v2_module :Golang
ngx_http_proxy_module :HTTP
1、正向代理
找完代理之后,还需要找服务器 应用:VPN
2、反向代理
只需要找代理,不需要找服务器 应用:负载均衡
ngx_http_uwsgi_module :Python
ngx_http_fastcgi_module :PHP
ngx_http_scgi_module :Java
ngx_http_v2_module :Golang
ngx_http_proxy_module :HTTP
相关文章: