From 2bc6c767d222ca7378bec94dd1621fbbaca7f8f6 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Fri, 16 Oct 2020 14:49:50 +0000 Subject: [PATCH] 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/ +