From f9c5ec1bf9e766e8eb66003ae20dad5667819440 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ou=C5=A1ek?= <brousek@ics.muni.cz>
Date: Tue, 28 Nov 2023 00:04:45 +0100
Subject: [PATCH] fix: correct perun-apache

---
 perun-apache/perun.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/perun-apache/perun.conf b/perun-apache/perun.conf
index 547d8be..84f72fa 100644
--- a/perun-apache/perun.conf
+++ b/perun-apache/perun.conf
@@ -3,7 +3,7 @@
   ServerAdmin perun@cesnet.cz
   ServerName perun-api
 
-  DocumentRoot /app
+  DocumentRoot /var/www
 
   # Note: buffer size must be set also in Tomcat and must be lower then this value.
   ProxyIOBufferSize 65536
@@ -40,6 +40,9 @@
   ##     RPC                      ####
   ####################################
 
+  <Proxy "ajp://perun-rpc:8009/">
+    ProxySet secret=test
+  </Proxy>
   # General rewrite rule
    RewriteRule ^/(.*)/rpc/(.*)$ ajp://perun-rpc:8009/perun-rpc/$2 [P,QSA]
 
-- 
GitLab