From 2bc6c767d222ca7378bec94dd1621fbbaca7f8f6 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Fri, 16 Oct 2020 14:49:50 +0000 Subject: [PATCH 1/2] add web proxy --- README.md | 18 +++++++++++++----- Util/WebProxy/Dockerfile | 6 ++++++ Util/WebProxy/container_files/httpd/proxy.conf | 11 +++++++++++ 3 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 Util/WebProxy/Dockerfile create mode 100644 Util/WebProxy/container_files/httpd/proxy.conf diff --git a/README.md b/README.md index cfa0051..8761467 100644 --- a/README.md +++ b/README.md @@ -7,17 +7,25 @@ Below are the names/ports that the components in the demos will use. Not all de ## ITAP Training Environment Names/Ports ## +**Web Proxy** +* name: +* port: 443 + **IdP** * name: idp.example.org -* port: 443 +* port: 13443 **Grouper** * name: grouper.example.org * port: 8443 +**Grouper-WS** +* name: grouper-ws.example.org +* port: 9443 + **COmanage** * name: comanage.example.org -* port: 9443 +* port: 12443 **midPoint** * name: midpoint.example.org @@ -41,12 +49,12 @@ Below are the names/ports that the components in the demos will use. Not all de **HRMS** * name: hr.example.org -* port: 12443 +* port: 14443 **SIS** * name: sis.example.org -* port: 13443 +* port: 15443 **Wordpress** * name: www.example.org -* port: 14443 +* port: 16443 diff --git a/Util/WebProxy/Dockerfile b/Util/WebProxy/Dockerfile new file mode 100644 index 0000000..dfee244 --- /dev/null +++ b/Util/WebProxy/Dockerfile @@ -0,0 +1,6 @@ +FROM tier/shibboleth_sp:latest + +COPY container_files/httpd/proxy.conf /etc/httpd/conf.d/ + + + diff --git a/Util/WebProxy/container_files/httpd/proxy.conf b/Util/WebProxy/container_files/httpd/proxy.conf new file mode 100644 index 0000000..1fd4c4c --- /dev/null +++ b/Util/WebProxy/container_files/httpd/proxy.conf @@ -0,0 +1,11 @@ +#Proxy config +ProxyPass /midpoint https://midpoint:10443/midpoint +ProxyPass /grouper https://grouper:8443/grouper +ProxyPass /grouper-ws https://grouper_ws:9443/grouper-ws +ProxyPass /idp https://idp:443/ +ProxyPass /rabbit https://rabbit:15672/ +#ProxyPass /ldap https://localhost:10389/midpoint +ProxyPass /comanage https://comanage:11443/ +#add reverseProxy +#PassReverse / http://localhost:8090/ + From 59e4fea845e5e4cf7f3df0994a71b58169c318a4 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Fri, 16 Oct 2020 14:52:20 +0000 Subject: [PATCH 2/2] fix port numbers in proxy conf --- Util/WebProxy/container_files/httpd/proxy.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Util/WebProxy/container_files/httpd/proxy.conf b/Util/WebProxy/container_files/httpd/proxy.conf index 1fd4c4c..3730dca 100644 --- a/Util/WebProxy/container_files/httpd/proxy.conf +++ b/Util/WebProxy/container_files/httpd/proxy.conf @@ -2,10 +2,10 @@ ProxyPass /midpoint https://midpoint:10443/midpoint ProxyPass /grouper https://grouper:8443/grouper ProxyPass /grouper-ws https://grouper_ws:9443/grouper-ws -ProxyPass /idp https://idp:443/ +ProxyPass /idp https://idp:13443/ ProxyPass /rabbit https://rabbit:15672/ #ProxyPass /ldap https://localhost:10389/midpoint -ProxyPass /comanage https://comanage:11443/ +ProxyPass /comanage https://comanage:12443/ #add reverseProxy #PassReverse / http://localhost:8090/