External Tomcat configuration repository for the Cloud Foundry java buildpack | Read-only mirror of https://github.com/swisscom/tomcat-external-configuration — Swisscom. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-07 18:05:07 +02:00
repo tomcat11 config 2026-07-07 18:05:07 +02:00
tar tomcat11 config 2026-07-07 18:05:07 +02:00
CODE_OF_CONDUCT.md Compliance bulk update. Add CODE_OF_CONDUCT.md 2024-10-16 17:19:37 +02:00
CONTRIBUTING.md Compliance bulk update. Add CONTRIBUTING.md 2024-10-16 17:19:36 +02:00
LICENSE Initial commit 2018-02-08 12:59:17 +01:00
manifest.yml tomcat9 configuration (#1) 2020-12-11 17:35:52 +01:00
README.md tomcat9 configuration (#1) 2020-12-11 17:35:52 +01:00

tomcat-external-configuration

External Tomcat configuration repository for the Cloud Foundry java buildpack.

Contains fixes that make X-Forwarded-For and X-Forwarded-Proto work even in our setup where we have gorouters running on 100.64/10 ranges and envoy running on 11.0/8 ranges.

To create the tars:

cd tar/tomcat7
tar czvf ../../repo/tomcat7/tomcat-external-configuration-1.0.x.tar.gz .
cd ../..

cd tar/tomcat8
tar czvf ../../repo/tomcat8/tomcat-external-configuration-1.0.x.tar.gz .
cd ../..

cd tar/tomcat9
tar czvf ../../repo/tomcat9/tomcat-external-configuration-1.0.x.tar.gz .
cd ../..

Then add the newly generated tars to repo/tomcat{7,8,9}/index.yml and push the app again.

You can set the variable <<API_URL>> in the index.yml file. This variable will be substituted on startup with the current host name assigned to this cf app (with the help of the .profile script). If you have new repos (e.g. a new tomcat version, you have to adapt this script as well)