![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux--nginx
文章平均质量分 79
shi0299
这个作者很懒,什么都没留下…
展开
-
Linux安装nginx
下载压缩包wget http://nginx.org/download/nginx-1.6.3.tar.gz解压tar -zxvf nginx-1.6.3.tar.gz安装配置(这里默认)./configure这里一般会有几个依赖错误:./configure: error: the HTTP gzip module requires the zlib libra原创 2016-01-04 14:07:08 · 597 阅读 · 0 评论 -
nginx 后端服务器配置端口 request.getserverPort
nginx可以很方便的配置成反向代理服务器server {listen 80;server_name bothlog.com;location / {proxy_set_header Host $host;proxy_set_header X-Forwarded-For $remote_addr;proxy_pass http://127.0.0转载 2016-07-28 09:43:36 · 6204 阅读 · 0 评论