Skip to content

Commit

Permalink
Rename the access server to invite in the Apache dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Sep 22, 2023
1 parent 3f91675 commit 2834149
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
24 changes: 12 additions & 12 deletions client/docker/appconf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ RewriteCond %{REQUEST_URI} !^/internal/
RewriteCond %{REQUEST_URI} !^/deprovision/
RewriteCond %{REQUEST_URI} !^/fonts/
RewriteRule (.*) /index.html [L]
ProxyPass /api http://openconextaccessserver:8080/api retry=0
ProxyPassReverse /api http://openconextaccessserver:8080/api
ProxyPassMatch ^/oauth2(.*)$ http://openconextaccessserver:8080 retry=0
ProxyPassReverse /oauth2 http://openconextaccessserver:8080/oauth2
ProxyPassMatch ^/internal(.*)$ http://openconextaccessserver:8080 retry=0
ProxyPassReverse /internal http://openconextaccessserver:8080/internal
ProxyPassMatch ^/login(.*)$ http://openconextaccessserver:8080 retry=0
ProxyPassReverse /login http://openconextaccessserver:8080/login
ProxyPassMatch ^/ui(.*)$ http://openconextaccessserver:8080 retry=0
ProxyPassReverse /ui http://openconextaccessserver:8080/ui
ProxyPass /deprovision http://openconextaccessserver:8080/api retry=0
ProxyPassReverse /deprovision http://openconextaccessserver:8080/api
ProxyPass /api http://inviteserver:8080/api retry=0
ProxyPassReverse /api http://inviteserver:8080/api
ProxyPassMatch ^/oauth2(.*)$ http://inviteserver:8080 retry=0
ProxyPassReverse /oauth2 http://inviteserver:8080/oauth2
ProxyPassMatch ^/internal(.*)$ http://inviteserver:8080 retry=0
ProxyPassReverse /internal http://inviteserver:8080/internal
ProxyPassMatch ^/login(.*)$ http://inviteserver:8080 retry=0
ProxyPassReverse /login http://inviteserver:8080/login
ProxyPassMatch ^/ui(.*)$ http://inviteserver:8080 retry=0
ProxyPassReverse /ui http://inviteserver:8080/ui
ProxyPass /deprovision http://inviteserver:8080/api retry=0
ProxyPassReverse /deprovision http://inviteserver:8080/api


DocumentRoot /var/www/
Expand Down
16 changes: 8 additions & 8 deletions welcome/docker/appconf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ RewriteCond %{REQUEST_URI} !^/deprovision/
RewriteCond %{REQUEST_URI} !^/fonts/
RewriteRule (.*) /index.html [L]

ProxyPass /api http://openconextaccessserver:8080/api retry=0
ProxyPassReverse /api http://openconextaccessserver:8080/api
ProxyPassMatch ^/oauth2(.*)$ http://openconextaccessserver:8080 retry=0
ProxyPassReverse /oauth2 http://openconextaccessserver:8080/oauth2
ProxyPassMatch ^/internal(.*)$ http://openconextaccessserver:8080 retry=0
ProxyPassReverse /internal http://openconextaccessserver:8080/internal
ProxyPassMatch ^/login(.*)$ http://openconextaccessserver:8080 retry=0
ProxyPassReverse /login http://openconextaccessserver:8080/login
ProxyPass /api http://inviteserver:8080/api retry=0
ProxyPassReverse /api http://inviteserver:8080/api
ProxyPassMatch ^/oauth2(.*)$ http://inviteserver:8080 retry=0
ProxyPassReverse /oauth2 http://inviteserver:8080/oauth2
ProxyPassMatch ^/internal(.*)$ http://inviteserver:8080 retry=0
ProxyPassReverse /internal http://inviteserver:8080/internal
ProxyPassMatch ^/login(.*)$ http://inviteserver:8080 retry=0
ProxyPassReverse /login http://inviteserver:8080/login

DocumentRoot /var/www/
<Location "/api">
Expand Down

0 comments on commit 2834149

Please sign in to comment.