1. 程式人生 > >Nginx配置反向代理

Nginx配置反向代理

send roo pes keepalive 127.0.0.1 upstream cte clu mime

http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; upstream apachephp { #配置訪問組 server 127.0.0.1:8080; #Apache #配置代理服務器 } server { listen 80; server_name localhost; location / { ` proxy_pass http://apachephp; #配置訪問組 root html; index index.php index.html index.htm; } } }

Nginx配置反向代理