需求是用ansible来修改nginx配置文件,添加代理gotty打开终端的逻辑,如下:

 

map.txt:

location.txt:

注意: 需要插入/替换的新内容:map.txt和location.txt 开始和结束的匹配字段也要写上去(Bstr和Estr)

Categories: 未分类

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *