使用tomcat启动jenkins需要的额外配置

问题:缓存不足

默认为10m,改为100m,文件“conf/context.xml”,<Context>中增加:

<Resources cachingAllowed="true" cacheMaxSize="100000" />

问题:反向代理设置有误

在jenkins url配置正确的前提下,文件“conf/catalina.properties”,末尾增加:

org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

详情或其他容器请参考:reverse-proxy-configuration-with-jenkins

OVER

posted @ 2020-11-18 11:33  晚来秋  阅读(322)  评论(0编辑  收藏  举报