From 1a78c08c3e1b66827f35fd3650823e93f2d1ef9d Mon Sep 17 00:00:00 2001
From: Martin van Es <martin@mrvanes.com>
Date: Thu, 27 Jan 2022 17:34:01 +0100
Subject: [PATCH] Add sample Apache2 configuration

---
 apache.conf | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 apache.conf

diff --git a/apache.conf b/apache.conf
new file mode 100644
index 0000000..ed9154c
--- /dev/null
+++ b/apache.conf
@@ -0,0 +1,18 @@
+<VirtualHost *:80>
+        ServerName srv1-signer.<domain>
+        ServerAlias signer.<domain>
+        ServerAdmin webmaster@localhost
+        DocumentRoot /var/www/html
+        AllowEncodedSlashes NoDecode
+        ProxyPass "/" "http://127.0.0.1:5001/" nocanon
+        ProxyPassReverse "/" "http://127.0.0.1:5001/"
+</VirtualHost>
+<VirtualHost *:80>
+        ServerName srv1-proxy.<domain>
+        ServerAlias proxy.<domain>
+        ServerAdmin webmaster@localhost
+        DocumentRoot /var/www/html
+        AllowEncodedSlashes NoDecode
+        ProxyPass "/" "http://127.0.0.1:5002/" nocanon
+        ProxyPassReverse "/" "http://127.0.0.1:5002/"
+</VirtualHost>
-- 
GitLab