Skip to content

Commit ca15d27

Browse files
author
MindsDB Infrastructure / DevOps
committed
fixing issues with webflow
1 parent 0f2681f commit ca15d27

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

deployment/webflow-ssl-proxy/templates/configmap.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ metadata:
88
data:
99
kubernetes.conf: |
1010
Options FollowSymLinks ExecCGI
11-
ProxyPreserveHost Off
11+
ProxyPreserveHost off
1212
1313
<VirtualHost *:80>
1414
ServerName webflow-ssl-proxy-80
1515
ServerAlias *
1616
17-
Header add X-Forwarded-Proto "https"
17+
# Add X-Forwarded-Proto header
1818
RequestHeader set X-Forwarded-Proto "https"
1919
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/"
3024
</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

deployment/webflow-ssl-proxy/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ deployment:
1919
livenessProbe:
2020
enabled: true
2121
initialDelaySeconds: 30
22-
path: /
22+
path: /robots.txt
2323

2424
# readinessProbes are used to determine when a container is ready to start accepting traffic
2525
# Only specify the values you need to override from the defaults
2626
readinessProbe:
2727
enabled: true
2828
initialDelaySeconds: 1
29-
path: /
29+
path: /robots.txt
3030

3131
# deployment container resource requests/limits
3232
# this is set VERY low by default, to be aggressive above resource limiting, please override this if necessary

0 commit comments

Comments
 (0)