Commit ca15d27 MindsDB Infrastructure / DevOps
committed
1 parent 0f2681f commit ca15d27 Copy full SHA for ca15d27
File tree 2 files changed +14
-14
lines changed
deployment/webflow-ssl-proxy
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,23 @@ metadata:
8
8
data :
9
9
kubernetes.conf : |
10
10
Options FollowSymLinks ExecCGI
11
- ProxyPreserveHost Off
11
+ ProxyPreserveHost off
12
12
13
13
<VirtualHost *:80>
14
14
ServerName webflow-ssl-proxy-80
15
15
ServerAlias *
16
16
17
- Header add X-Forwarded-Proto "https"
17
+ # Add X-Forwarded-Proto header
18
18
RequestHeader set X-Forwarded-Proto "https"
19
19
20
- # Setup our proxying
21
- SSLProxyEngine On
22
- SSLProxyCheckPeerCN off
23
- SSLProxyCheckPeerExpire off
24
- SSLVerifyClient none
25
- SSLProxyVerify none
26
-
27
- ProxyPass / "https://mindsdb.webflow.io/"
28
- ProxyPassReverse / "https://mindsdb.webflow.io/"
29
-
20
+ # Proxy requests to backend server, but "fake" a different hostname (mindsdb.com) needed because of how webflow works
21
+ ProxyRemote "*" "http://proxy.webflow.com"
22
+ ProxyPass / "http://mindsdb.com/"
23
+ ProxyPassReverse / "http://mindsdb.com/"
30
24
</VirtualHost>
25
+ # IMPLEMENTATION NOTE: Uncomment below to debug raw any requests sent to proxies and such
26
+ # zz-debug.conf: |
27
+ # LoadModule dumpio_module modules/mod_dumpio.so
28
+ # LogLevel dumpio:trace7
29
+ # DumpIOInput On
30
+ # DumpIOOutput On
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ deployment:
19
19
livenessProbe :
20
20
enabled : true
21
21
initialDelaySeconds : 30
22
- path : /
22
+ path : /robots.txt
23
23
24
24
# readinessProbes are used to determine when a container is ready to start accepting traffic
25
25
# Only specify the values you need to override from the defaults
26
26
readinessProbe :
27
27
enabled : true
28
28
initialDelaySeconds : 1
29
- path : /
29
+ path : /robots.txt
30
30
31
31
# deployment container resource requests/limits
32
32
# this is set VERY low by default, to be aggressive above resource limiting, please override this if necessary
You can’t perform that action at this time.
0 commit comments