Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
| Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
|
tomcat_administration:start [2022/05/13 15:01] marco.staub |
tomcat_administration:start [2024/04/11 06:55] (aktuell) |
||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| ===== Tag 1 ===== | ===== Tag 1 ===== | ||
| - | ==== 1.2 - rc.sh ==== | + | ==== 1.2 - tomcat.sh ==== |
| <code> | <code> | ||
| #!/bin/sh | #!/bin/sh | ||
| Zeile 9: | Zeile 9: | ||
| ### Start Config ### | ### Start Config ### | ||
| - | TOMCAT_VERSION=10.0.20 | + | TOMCAT_VERSION=10.1.20 |
| INSTANCE_NAME=workshop | INSTANCE_NAME=workshop | ||
| Zeile 308: | Zeile 308: | ||
| </code> | </code> | ||
| - | ==== 5.5 - balancer-manager ==== | + | ==== 5.3 - einfacher Proxy ==== |
| + | <code> | ||
| + | <VirtualHost *:80> | ||
| + | ProxyPass /workshop http://localhost:8180/workshop | ||
| + | ProxyPassReverse /workshop http://localhost:8080/workshop | ||
| + | ProxyPassReverse /workshop http://localhost:8180/workshop | ||
| + | ProxyPreserveHost On | ||
| + | </VirtualHost> | ||
| + | </code> | ||
| + | |||
| + | ==== 5.6 - Monitoring ==== | ||
| <code> | <code> | ||
| Zeile 322: | Zeile 332: | ||
| </code> | </code> | ||
| + | <code> | ||
| + | LogFormat "%h %l %u %t \"%r\" %>s %b %{BALANCER_ROUTE_CHANGED}e %{BALANCER_WORKER_ROUTE}e %{BALANCER_SESSION_ROUTE}e %D" proxyextended | ||
| + | CustomLog "logs/proxy_access_log" proxyextended | ||
| + | </code> | ||