From e9aa5f6043e3e4f71b024e6f5b7a9999f0a5cb03 Mon Sep 17 00:00:00 2001 From: Fmar Date: Wed, 20 Nov 2024 23:52:28 +0100 Subject: [PATCH] add request size loggin to tomcat --- java/Dockerfile | 1 + java/tomcat-config/server.xml | 162 ++++++++++++++++++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 java/tomcat-config/server.xml diff --git a/java/Dockerfile b/java/Dockerfile index b78cd15..26defb6 100644 --- a/java/Dockerfile +++ b/java/Dockerfile @@ -11,6 +11,7 @@ FROM tomcat:jre17 # Copy WAR file COPY --from=builder /build/app/build/libs/vss-1.0.war /usr/local/tomcat/webapps/vss.war +COPY tomcat-config/server.xml /usr/local/tomcat/conf/server.xml # All the below are defaults. # Pass real values as env variables. diff --git a/java/tomcat-config/server.xml b/java/tomcat-config/server.xml new file mode 100644 index 0000000..9660c4a --- /dev/null +++ b/java/tomcat-config/server.xml @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +