会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
九尘
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
nginx
ssl自动生成
摘要:环境CentOS 7###首先给系统添加 epel 源curl -o /etc/yum.repos.d/epel-7.repo https://mirrors.aliyun.com/repo/epel-7.repo###安装证书申请工具 Certbotyum install -y certbot##
阅读全文
posted @
2022-09-26 16:45
jiuchen
阅读(44)
评论(0)
推荐(0)
编辑
nginx 配置示例
摘要:nginx操作 重启 ./nginx -s reload nginx返回文本 location ~ ^/get_text { default_type text/html; return 200 'This is text!'; } View Code nginx返回json location ~
阅读全文
posted @
2020-04-06 13:46
jiuchen
阅读(275)
评论(0)
推荐(0)
编辑
nginx 反向代理
摘要:官方文档 参考官方文档 为了将客户端和服务器之间的连接从HTTP/1.1转换到WebSocket,使用了HTTP/1.1中可用的协议交换机制。 location / { proxy_pass http://jupyterhub IP:port; proxy_set_header Host $host
阅读全文
posted @
2019-11-21 11:02
jiuchen
阅读(112)
评论(0)
推荐(0)
编辑
open_basedir的配置
摘要:.user.ini的使用 1.限制目录访问 .user.ini配置
阅读全文
posted @
2019-09-03 10:32
jiuchen
阅读(1195)
评论(0)
推荐(0)
编辑
nginx常见问题
摘要:问题描述: 路由能正常访问,但认证失败, 由于请求需要执行,curl -X GET "http://api.jr.com/v1/salary/list" -H "accept: application/json" -H "Authorization: Bearer 123456" 也就是需要执行cu
阅读全文
posted @
2019-06-09 21:19
jiuchen
阅读(687)
评论(0)
推荐(0)
编辑
公告
点击右上角即可分享