![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
nginx
崔雨田
这个作者很懒,什么都没留下…
展开
-
docker 安装 nginx 并且挂载数据卷
Docker 挂载准备工作配置docker 镜像vim /etc/docker/daemon.json {"registry-mirrors":["https://reg-mirror.qiniu.com/"]}重启$ sudo systemctl daemon-reload$ sudo systemctl restart docker检查效果$ docker infoRegistry Mirrors: https://reg-mirror.qiniu.com/原创 2020-08-09 18:48:16 · 2603 阅读 · 0 评论 -
nginx 配置前后端分离web项目
环境1、nginx windows2、idea spring boot 2.2.4 做 Ajax请求一、nginx 配置文件在这里插入代码片配置信息:监听端口、静态文件位置 server { # 监听端口号 listen 9001; server_name localhost; location / { # proxy_pass http://localhost:80; # root html;原创 2020-07-04 14:16:06 · 1584 阅读 · 2 评论 -
nginx 负载均衡、逆向代理、前后端分离。
nginx 配置文件、常用命令一、命令nginx.exenginx -s stopnginx -s reload二、配置文件包含三部分内容(1)全局块:配置服务器整体运行的配置指令比如 worker_processes 1;处理并发数的配置(2)events 块:影响 Nginx 服务器与用户的网络连接比如 worker_connections 1024; 支持的最大连接数为 1024(3)http 块还包含两部分:1、 http 全局块2、server 块#user nob原创 2020-07-04 09:58:19 · 246 阅读 · 0 评论 -
Docker 搭建 nginx - rtmp 流媒体服务器并且使用ffmpeg推流
docker可是一个好东西。在开发和测试的时候经常需要安装环境,而且在安装过程中可能出现非常多的问题,有了docker一切都不是问题了,一定要用好docker。在windows中也能使用docker。1. 在docker中安装nginx+rtmp拉取镜像docker pull alfg/nginx-rtmp2、创建并运行容器,映射出两个端口1935、80docker run -itd -p 1935:1935 -p 8080:80 --name nginx-rtmp-test alfg/ngin原创 2020-06-09 08:18:55 · 1708 阅读 · 0 评论 -
Python 实现动态人流量计数, 百度AI接口
前提1、注册百度AI2、得到自己的token凭证3、安装推流工具 ffemeg依赖库import cv2import base64from PIL import Imagefrom io import BytesIOimport requestsimport jsonimport numpy as npimport threadingimport timeimport ...原创 2020-04-23 16:58:34 · 3282 阅读 · 4 评论