• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






守护式等待

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 72 下一页

2019年6月3日

nginx docker 命令: command not found
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-03 15:29 守护式等待 阅读(370) 评论(0) 推荐(0)
 

2019年5月31日

清理Linux 磁盘空间
摘要: 1.执行 lsof | grep deleted发现有大量刚刚删除文件的进程存在,kill掉进程(或者重启进程) OK yum install -y lsof 2.查看磁盘信息:df -lh 3.循环定位最大文件目录:du -h --max-depth=1 4.删除大的文件 # 确认删除的文件是否被 阅读全文
posted @ 2019-05-31 11:30 守护式等待 阅读(197) 评论(0) 推荐(0)
 
pip 安装包 使用国内镜像源
摘要: 1.pipy国内镜像目前有 阿里云 https://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) https://pypi.douban.com/simple/ 清 阅读全文
posted @ 2019-05-31 09:56 守护式等待 阅读(488) 评论(0) 推荐(0)
 

2019年5月28日

nginx 缓存服务
摘要: 1.nginx 缓存 upstream imooc { server 116.62.103.228:8001; server 116.62.103.228:8002; server 116.62.103.228:8003; } proxy_cache_path /opt/app/cache(存放缓存 阅读全文
posted @ 2019-05-28 16:11 守护式等待 阅读(62) 评论(0) 推荐(0)
 
nginx 负载均衡
摘要: 1.负载均衡 upstream imooc { server 116.62.103.228:8001; server 116.62.103.228:8002; server 116.62.103.228:8003; } server { listen 80; server_name localhos 阅读全文
posted @ 2019-05-28 15:08 守护式等待 阅读(39) 评论(0) 推荐(0)
 
nginx 其他配置语法
摘要: 1.nginx 缓冲区配置 2.跳转重定向 3.头信息 4.超时 location / { proxy_pass http://127.0.0.1:8080;(代理跳转url) proxy_redirect default(重定向,一般默认就可以); proxy_set_header Host $h 阅读全文
posted @ 2019-05-28 14:30 守护式等待 阅读(55) 评论(0) 推荐(0)
 
nginx 代理服务
摘要: 1.nginx反向代理服务 location ~ /test_proxy.html$ { proxy_pass http://127.0.0.1:8080;(代理访问127.0.0.1:8080) } 2.nginx正向代理 resolver 8.8.8.8;(dns解析) location / { 阅读全文
posted @ 2019-05-28 10:58 守护式等待 阅读(96) 评论(0) 推荐(0)
 
nginx 防盗链
摘要: 1.nginx防盗链 location ~ .*\.(jpg|gif|png)$ { gzip on; gzip_http_version 1.1; gzip_comp_level 2; gzip_types text/plain application/javascript application 阅读全文
posted @ 2019-05-28 10:12 守护式等待 阅读(49) 评论(0) 推荐(0)
 
nginx 静态资源服务
摘要: 1.文件压缩 location ~ .*\.(jpg|gif|png)$ { gzip on(开启); gzip_http_version 1.1(版本); gzip_comp_level 2(压缩比); gzip_types(文件类型) text/plain application/javascr 阅读全文
posted @ 2019-05-28 09:56 守护式等待 阅读(105) 评论(0) 推荐(0)
 

2019年5月27日

scrapy 改 scrapy-redis
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-05-27 15:15 守护式等待 阅读(137) 评论(0) 推荐(0)
 
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 72 下一页