From d71fda8c931414b846622746966ee93fee75198d Mon Sep 17 00:00:00 2001 From: Bernd Ritter Date: Sat, 30 Sep 2023 23:15:36 +0200 Subject: [PATCH] Reverse-Proxy raus, weil ROOT-Context kein Reload hat --- doc/docker-compose.yml | 7 --- doc/tomcat/conf/server.xml | 5 +- .../web/controller/RegisterController.java | 56 ++++++++++++++++--- src/main/resources/log4j.properties | 2 +- 4 files changed, 51 insertions(+), 19 deletions(-) diff --git a/doc/docker-compose.yml b/doc/docker-compose.yml index b108274e..8b269e80 100644 --- a/doc/docker-compose.yml +++ b/doc/docker-compose.yml @@ -35,13 +35,6 @@ services: - './tomcat/conf/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml' - './tomcat/lib/postgresql-42.3.1.jar:/usr/local/tomcat/lib/postgresql-42.3.1.jar' - '../target/holarseweb.war:/usr/local/tomcat/webapps/holarseweb.war' - reverse-proxy: - container_name: reverse-proxy - image: caddy:latest - ports: - - "80:80" - volumes: - - ./reverse-proxy/:/etc/caddy/ volumes: website_my_pgdata: external: true diff --git a/doc/tomcat/conf/server.xml b/doc/tomcat/conf/server.xml index 22ced8f2..8f233096 100644 --- a/doc/tomcat/conf/server.xml +++ b/doc/tomcat/conf/server.xml @@ -148,9 +148,8 @@ resourceName="UserDatabase"/> - - - + +