当前位置: 首页 > news >正文

Konga域名配置多个路由

云原生API网关-Kong部署与konga基本使用

Nginx

server{listen       443 ssl;location / {proxy_pass http://127.0.0.1:8100;}location /openApi {proxy_pass http://172.31.233.35:7100/openApi;}
}

Kong

{"id": "f880b21c-f7e0-43d7-a2a9-221fe86d9231","path_handling": "v1","paths": ["/openApi"],"destinations": null,"headers": null,"protocols": ["http"],"methods": ["GET","POST"],"snis": null,"service": {"host": "172.31.233.35","created_at": 1715153376,"connect_timeout": 60000,"id": "213fb407-95fa-46f6-b187-f3c8cd68cf9d","protocol": "http","name": "xxx_api","read_timeout": 60000,"port": 7100,"path": null,"updated_at": 1715153376,"retries": 5,"write_timeout": 60000,"tags": [],"client_certificate": null,"extras": {}},"name": "xxxx_api","strip_path": false,"preserve_host": false,"regex_priority": 0,"updated_at": 1715153858,"sources": null,"hosts": ["xxxxxx.com"],"https_redirect_status_code": 426,"tags": null,"created_at": 1715153426
}

http://www.lryc.cn/news/346210.html

相关文章:

  • 15.计算机网络
  • 【大数据·hadoop】在hdfs上运行shell基本常用命令
  • TCP/IP 协议基础:构建互联网基石
  • Android OpenMAX(三)高通OMX组件实现基础
  • 【比邻智选】MF871U模组
  • Unity 单例模式
  • Oracle-一次TX行锁堵塞事件
  • Gtid方式搭建主从复制+MHA高可用集群
  • 基于matlab GUI的Alpha shapes边缘提取
  • [Android]常见的包管理方式
  • 每日10亿数据的日志分析系统OOM
  • 智能驱动,精准管理:打造高效干部管理系统
  • 轮式机器人简介
  • 已知哈夫曼节点个数,求哈夫曼字符编码数
  • Kubernetes Cluster IP,Node IP,Pod IP间通信原理解析
  • 随机链表的深拷贝
  • 328_C++_HTTP_HTTP协议传输data数据,为什么要进行base64编解码操作?
  • 【二叉树】Leetcode N 叉树的层序遍历
  • Spring AI
  • fiori SAP ui5 动态改变控件颜色
  • RabbitMQ php amqp
  • 对称二叉树
  • 浅浅总结SQL中的事务.
  • C++ | Leetcode C++题解之第76题最小覆盖子串
  • 什么可以替代iframe?
  • HTTP/1.0、HTTP/1.1、HTTP/2.0区别
  • 鸿蒙内核源码分析(文件句柄篇) | 你为什么叫句柄
  • 2024.5.8 关于 SpringCloud —— Ribbon 的基本认知
  • Lua 协程模拟 Golang 的 go defer 编程模式
  • maven的安装与配置(超详细)