• HOME
  • SEARCH
  • TOPICS
  • DATA

  • Nginx 配置之开启状态检查

    查看是否安装所需模块 --with-http_stub_status_module nginx -V 如若未安装改模块,需重新编译安装 ./configure

    2019-03-21, Views: 3809 , Topics: Nginx

  • Nginx 配置之开启 Gzip 压缩

    配置可供参考 gzip on; gzip_min_length 1k; gzip_buffers 4 16k; #gzip_http_version 1.0;

    2019-03-20, Views: 4681 , Topics: Nginx 压缩

  • Nginx 配置之解决 413 错误(Request Entity Too Large)

    错误信息 Failed to load resource: the server responded with a status of 413 (Reques

    2019-03-20, Views: 7510 , Topics: Nginx

  • Nginx 配置之视频防盗链

    查看安装的模块 nginx -V 安装 secure_link 模块 如果没有secure_link模块,则需安装。 ./configure --with-ht

    2019-03-20, Views: 5936 , Topics: Nginx 防盗链

  • Nginx 配置之图片防盗链

    配置 location ~* ^/uploads/img/.*?\.(jpe?g|png|gif|svg)$ { valid_referers none

    2019-03-20, Views: 3582 , Topics: Nginx 防盗链

  • Nginx 配置之开启缓存过期时间

    expires 默认单位:秒。 h:时 m:分 s:秒 y:年 location ~ .*\.(?:jpg|jpeg|gif|png|ico|cur|gz|

    2019-03-20, Views: 4954 , Topics: Nginx 缓存

  • Nginx 配置之 PHP 路径配置

    80 端口对应单个 PHP 服务 server { listen 80; server_name localhost; r

    2019-03-20, Views: 4215 , Topics: Nginx PHP 反向代理

  • Nginx 配置之反向代理获取真实 IP

    方法 保留代理之前的host: proxy_set_header Host $host; 保留代理之前的真实客户端IP: proxy_set_header X-

    2019-03-20, Views: 4809 , Topics: Nginx IP 反向代理

  • Nginx 配置之隐藏版本号

    方法 打开Nginx主配置文件:nginx.conf,取消注释或添加配置语句。 server_tokens off; http { # ...省

    2019-03-20, Views: 3438 , Topics: Nginx

  • Nginx 配置之 worker_processes

    1.9.10 版本后可以配置 worker_processes auto; worker_cpu_affinity auto; 解释 0001表示启用第一个CP

    2019-03-19, Views: 6829 , Topics: Nginx

  • Nginx 之基础命令

    查看简要信息 nginx -v 查看详细信息 nginx -V 启动服务 nginx 重新加载配置文件 nginx -s reload 快速停止服务 nginx

    2019-03-19, Views: 3816 , Topics: Nginx

  • Git 命令之代码合并 rebase

    合并代码之 rebase 合并某个分支上的一系列 commits 如需要合并commit abc-def-ghi-jkl到master分支。 创建一个新的分支,并指明新分支的最后一个com

    2019-03-18, Views: 3954 , Topics: Git Command

  • Git 命令之回退到指定 commit

    1. 查看提交日志 git log # 已经删除的commitId可以用git reflog查看 git reflog 2. 本地代码回到指定的commitid hard模式 git re

    2019-03-18, Views: 4714 , Topics: Git Command

  • Git 命令之暂存区

    说明 不想把 dev 分支的改动带到 master 分支可以用此命令。 暂存当前修改 git stash 恢复(弹出)暂存区内容 会删除stash list所有的内容 git stash po

    2019-03-18, Views: 4599 , Topics: Git Command

  • Git 命令之本地仓库上传至远程仓库

    步骤 本地已建立项目,git 上已存在地址,初始化项目并上传到 git。 初始化本地仓库 git init 添加文件缓存区,符号.代表添加文件夹下所有文件 git add .

    2019-03-18, Views: 3879 , Topics: Git Command

  • Git 命令之基础命令

    查看状态 git status 查看分支 git branch 创建分支 分支名称可任意 git branch 分支名称 git branch dev_branch 切换到指定分支 git

    2019-03-18, Views: 3108 , Topics: Git Command

  • Linux 常用命令之网络相关命令

    网络端口是否可用 curl curl ip:port curl 1.1.1.1:8000 telnet telnet ip port telnet 1.1.1.1 8000

    2019-03-16, Views: 4205 , Topics: Linux telnet curl

  • Linux 常用命令之内存相关命令

    top 查看内存占用 top # 按大写的M后按内存大小排序 free 查看内存使用情况 free -m df 查看硬盘空间 df -lh

    2019-03-16, Views: 3683 , Topics: Linux Command

  • Linux 常用命令之进程相关命令

    强制终止进程 kill -9 [pid] kill -9 8080 查找进程 ps aux | grep java # 因为是java服务,习惯用jps(jdk自带显示java进程) jps 或

    2019-03-16, Views: 4017 , Topics: Linux Command

  • Linux 常用命令之查看系统信息

    内核信息 uname uname -a /proc/version cat /proc/version 系统版本 通用但需要权限。 sudo cat /etc/issue RedHat cat

    2019-03-16, Views: 3882 , Topics: Linux Command

  • First Prev
  • 99
  • 100
  • 101
  • 102
  • 103
  • Next Last

©2026 沪ICP备18012661号-1 阿里云

Messages Sitemap GitHub