标签: 后端
6 个内容
笔记(5)
本文介绍了 Nginx 如何选择 server block 和 location block 处理请求。server name 通过 Host header 匹配。Location block 支持多种匹配模式:精确匹配(=)、正则匹配(~, ~*)、前缀匹配(无修饰符, ^~)。同时解释了try_files 指令导致的 location 重新评估,以及 proxy_pass 反向代理配置中 URL 后加/的区别。
Elliot Yang·
145 浏览
动态(1)
E
Elliot Yang
公开
https://github.com/nacos-group/nacos-sdk-go/issues/316#issuecomment-1807895963
docker 启动的 nacos 使用 go nacos sdk 调用 GetConfig 报错解决。
read config from both server and cache fail, err=read cache file Config Encrypted Data Key failed. cause file doesn't exist
解决办法:把 8848,9848,9849 三个端口打开。
1client.GetConfig(vo.ConfigParam{
2 DataId: dataID,
3 Group: group,
4 })浏览:280点赞:0