Skip to content

Commit

Permalink
fixing issues with webflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MindsDB Infrastructure / DevOps committed Jan 11, 2024
1 parent 0f2681f commit ca15d27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions deployment/webflow-ssl-proxy/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ metadata:
data:
kubernetes.conf: |
Options FollowSymLinks ExecCGI
ProxyPreserveHost Off
ProxyPreserveHost off
<VirtualHost *:80>
ServerName webflow-ssl-proxy-80
ServerAlias *
Header add X-Forwarded-Proto "https"
# Add X-Forwarded-Proto header
RequestHeader set X-Forwarded-Proto "https"
# Setup our proxying
SSLProxyEngine On
SSLProxyCheckPeerCN off
SSLProxyCheckPeerExpire off
SSLVerifyClient none
SSLProxyVerify none
ProxyPass / "https://mindsdb.webflow.io/"
ProxyPassReverse / "https://mindsdb.webflow.io/"
# Proxy requests to backend server, but "fake" a different hostname (mindsdb.com) needed because of how webflow works
ProxyRemote "*" "http://proxy.webflow.com"
ProxyPass / "http://mindsdb.com/"
ProxyPassReverse / "http://mindsdb.com/"
</VirtualHost>
# IMPLEMENTATION NOTE: Uncomment below to debug raw any requests sent to proxies and such
# zz-debug.conf: |
# LoadModule dumpio_module modules/mod_dumpio.so
# LogLevel dumpio:trace7
# DumpIOInput On
# DumpIOOutput On
4 changes: 2 additions & 2 deletions deployment/webflow-ssl-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ deployment:
livenessProbe:
enabled: true
initialDelaySeconds: 30
path: /
path: /robots.txt

# readinessProbes are used to determine when a container is ready to start accepting traffic
# Only specify the values you need to override from the defaults
readinessProbe:
enabled: true
initialDelaySeconds: 1
path: /
path: /robots.txt

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

0 comments on commit ca15d27

Please sign in to comment.