Skip to content

Commit f24b95c

Browse files
committed
update reverse proxy configuration
Signed-off-by: Thomas Telleis <[email protected]>
1 parent 61e3aec commit f24b95c

File tree

1 file changed

+14
-10
lines changed
  • docs/deploy-and-configure/configuration/reverse-proxy

1 file changed

+14
-10
lines changed

docs/deploy-and-configure/configuration/reverse-proxy/index.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,30 @@ apache configuration template
2929
ServerAlias www.corporate-memory.example.com
3030
ProxyPreserveHost On
3131
32-
ProxyPass /auth https://keycloak.host/auth retry=0
33-
ProxyPassReverse /auth https://keycloak.host/auth
34-
35-
ProxyPass /dataplatform https://dataplatform.host/dataplatform retry=0
36-
ProxyPassReverse /dataplatform https://dataplatform.host/dataplatform
32+
ProxyPass /auth http://keycloak:8080/auth retry=0
33+
ProxyPassReverse /auth http://keycloak:8080/auth
3734
3835
RewriteEngine on
3936
RewriteRule "^/dataintegration$" "/dataintegration/" [R]
4037
4138
RewriteCond %{HTTP:Upgrade} =websocket [NC]
42-
RewriteRule "/dataintegration/(.*)" wss://dataintegration.host/dataintegration/$1 [P,L]
39+
RewriteRule "^/dataintegration/(.*)" ws://dataintegration/dataintegration/$1 [P,L]
4340
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
44-
RewriteRule "/dataintegration/(.*)" https://dataintegration.host/dataintegration/$1 [P,L]
41+
RewriteRule "^/dataintegration/(.*)" http://dataintegration:80/dataintegration/$1 [P,L]
4542
46-
ProxyPassReverse /dataintegration https://dataintegration.host/dataintegration
43+
ProxyPassReverse /dataintegration http://dataintegration:80/dataintegration
4744
48-
ProxyPass / https://datamanager.host/ retry=0
49-
ProxyPassReverse / https://datamanager.host/
45+
ProxyPass /.well-known/acme-challenge !
46+
ProxyPass / http://explore:80/ retry=0
47+
ProxyPassReverse / http://explore:80
5048
5149
# https://github.com/gitlabhq/gitlabhq/issues/8924
5250
AllowEncodedSlashes NoDecode
5351
52+
# Allow for compression
53+
# https://httpd.apache.org/docs/2.4/mod/mod_deflate.html
54+
SetOutputFilter DEFLATE
55+
5456
# Network timeout in seconds for proxied requests (default 300)
5557
# http://serverfault.com/questions/500467/apache2-proxy-timeout/583266
5658
ProxyTimeout 1200
@@ -72,6 +74,8 @@ Information about the runtime environment which is used to run Explore and Build
7274

7375
## Linked Data delivery mode
7476

77+
TODO: What is this section? Still relevant? Also rename to explore?
78+
7579
The Linked Data delivery mode is able to serve data that uses the same namespace as the configured domain name as resolvable URIs including content negotiation.
7680

7781
Therefore you can use the following template (e.g.: <https://corporate-memory.example.com>):

0 commit comments

Comments
 (0)