43

通过URL参数请求不同的后端服务器-枫林晚

 4 years ago
source link: https://blog.51cto.com/fengwan/2391359
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
内网通过K8S搭建多个分支测试环境,可是如果外网需要访问而且域名都是一致的情况下,这个时候变得麻烦了。如何通过不同的请求参数访问不同的后端环境呢,答案是可以的,通过lua可以达到。入口:http://fengwan.blog.51cto.com/?envs=branches#branches环境http://fengwan.blog.51cto.com/?envs=branchesv2#branc

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK