![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Nginx
top啦它
这个作者很懒,什么都没留下…
展开
-
腾讯云docker部署django uwsgi nginx
首先先把镜像pull下来docker pull python:3.7.4docker pull nginxdocker pull mysql:5.7创建一个bridgedocker network create -d bridge web-bridge然后在这个bridge中部署容器部署后docker start name[id] 给他运行起来进入python容器(注意python容器创建时记得加上 --it,不然start不起来)python容器里面有pip,我就在这个容器里面下载daj原创 2021-09-23 14:55:28 · 235 阅读 · 1 评论 -
./configure: error: the HTTP gzip module requires the zlib library.
执行./configure --prefix=/home/atguigu/nginx报错:./configure: error: the HTTP gzip module requires the zlib library.You can either disable the module by using --without-http_gzip_moduleoption, or install the zlib library into the system, or build the zlib原创 2021-06-16 20:56:41 · 5644 阅读 · 0 评论 -
./configure: error: C compiler cc is not found
执行:yum -y install gcc gcc-c++ autoconf automake make原创 2021-06-16 20:51:17 · 402 阅读 · 0 评论 -
生成requirements.txt
pip freeze > requirements.txt原创 2020-10-27 16:09:02 · 147 阅读 · 0 评论 -
NGINX服务器的反向代理PROXY_PASS配置方法讲解
Nginx的配置还是比较简单的,如:location ~ /* {proxy_pass http://127.0.0.1:8008;}或者可以location /{proxy_pass http://127.0.0.1:8008;}然而,如果要配置一个相对复杂的反向代理Nginx就要麻烦一些了比如,将url中以/wap/开头的请求转发到后台对应的某台server上可以再Nginx里设置一个变量,来临时保存/wap/后面的路径信息location ^~ /wap/{if (原创 2020-10-27 00:06:04 · 809 阅读 · 0 评论 -
nginx: [emerg] duplicate location “/“ in config.conf:51
nginx: [emerg] duplicate location “/” in /home/wtl/PycharmProjects/djangoProject11/config.conf:51user nginx;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.原创 2020-10-24 22:07:50 · 8497 阅读 · 0 评论 -
在Linux(Ubuntu)下安装Nginx
一、 先准备环境:1.apt-get install gcc2.apt-get install libpcre3 libpcre3-dev3.apt-get install zlib1g zlib1g-dev4.apt-get install openssl openssl-dev二、 环境准备好后就去nginx官网下载Linux版本的包。https://nginx.org/en/download.html**三、**解压包提取之后就可以把下载的压缩包请到回收站了。留下提取后原创 2020-10-20 00:30:26 · 763 阅读 · 1 评论 -
【Nginx】使用nginx反向代理IIS实现80端口的解放
【Nginx】使用nginx反向代理IIS实现80端口的解放目录下载版本:开启服务然后记录下nginx的命令:开启不成功解决nginx设置代理回到顶部下载版本:官网地址:http://nginx.org/en/download.html我使用了稳定版本。下载完成之后进行目录解压,解压之后大概就是这个样子:网上很多人写这些了想了解概念的百度一下一搜一大把,所以就不唠叨了。只是记录一片windows中的使用,也是亲身体验,配置因为window可能有点坑所以记录以便查阅很分享。了解n原创 2020-10-08 21:02:02 · 3920 阅读 · 0 评论