mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

Currently, the requests from public websites (like `bigchaindb.com/getstarted` and tutorials.bigchaindb.com/crab) cannot have the app_id and app_key required to access IPDB in the web page. We pass such requests through a web proxy that adds the required headers to any POST requests from `*.bigchaindb.com`.
17 lines
386 B
YAML
17 lines
386 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: web-proxy-instance-0
|
|
namespace: default
|
|
labels:
|
|
name: web-proxy-instance-0
|
|
spec:
|
|
selector:
|
|
app: web-proxy-instance-0-dep
|
|
ports:
|
|
- port: <port where the proxy is listening for requests>
|
|
targetPort: <port where the proxy is listening for requests>
|
|
name: public-web-proxy-port
|
|
protocol: TCP
|
|
type: LoadBalancer
|