• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
陶阳昊
开发有风险,入坑需谨慎
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  Nginx & Apache

nginx----------路由规则配置

摘要:1、前端写了一套带有vue路由的的功能。放到nginx配置的目录下以后,刷新会报404未找到。 这是根据实际情况来写的。 location /h5/activity/wechat/ { index index.html index.htm index.php; try_files $uri $uri 阅读全文
posted @ 2018-05-21 13:08 陶阳昊
apache----------在apache环境下安装https支持

摘要:1、安装mod_ssl yum install mod_ssl2、修改阿帕奇的配置文件开启3、防火墙要开启443端口4、要把三个证书上传到阿帕奇配置文件下。5、更新 httpd.conf 配置文件 1.用文本编辑器打开Apache根目录下 conf/httpd.conf 文件 找到 #LoadMod 阅读全文
posted @ 2018-03-17 19:15 陶阳昊
nginx----------nginx日志详细分解

摘要:1.客户端(用户)IP地址。如:上例中的 47.52.45.228 2.访问时间。如:上例中的 [03/Jan/2013:21:17:20 -0600] 3.请求方式(GET或者POST等)。如:上例中的 GET 4.请求url地址(去除host部分)。如:上例中的 /html/test.html 阅读全文
posted @ 2017-08-14 14:49 陶阳昊
nginx----------nginx的nginx_status配置

摘要:1. 启用nginx status配置: 在默认主机里面加上location或者你希望能访问到的主机里面。 server { listen *:80 default_server; server_name _; location /ngx_status { stub_status on; acces 阅读全文
posted @ 2016-08-18 10:57 陶阳昊
nginx----------linux下nginx环境搭建遇到的一些问题汇总(多域名配置,配置文件修改问题)

摘要:一、启动 cd usr/local/nginx/sbin ./nginx 二、重启 更改配置重启nginx 判断配置文件是否正确 三、关闭 查询nginx主进程号 ps -ef | grep nginx 从容停止 kill -QUIT 主进程号 快速停止 kill -TERM 主进程号 强制停止 k 阅读全文
posted @ 2016-07-06 16:27 陶阳昊

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3