码迷,mamicode.com
首页 > 其他好文 > 详细

Nginx配置反向代理

时间:2018-07-11 22:50:04      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:localhost   timeout   str   types   dex   time   pac   lis   local   

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配置反向代理

标签:localhost   timeout   str   types   dex   time   pac   lis   local   

原文地址:http://blog.51cto.com/yht1990/2140644

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!