mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
BigchainDB Web Proxy to add headers to requests
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`.
This commit is contained in:
33
k8s/nginx-https-web-proxy/README.md
Normal file
33
k8s/nginx-https-web-proxy/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
## Deploying the BigchainDB Web Proxy on a Kubernetes Cluster
|
||||
|
||||
|
||||
### Configure the Web Proxy
|
||||
|
||||
* Fill in the configuration details for the proxy in the
|
||||
`nginx-https-web-proxy-conf.yaml` file.
|
||||
|
||||
* Use the command below to create the appropriate ConfigMap and Secret:
|
||||
```
|
||||
kubectl apply -f nginx-https-web-proxy-conf.yaml
|
||||
```
|
||||
|
||||
|
||||
### Start the Kubernetes Service for BigchainDB Web Proxy
|
||||
|
||||
* Use the command below to start the Kubernetes Service:
|
||||
```
|
||||
kubectl apply -f nginx-https-web-proxy-svc.yaml
|
||||
```
|
||||
|
||||
* This will give you a public IP address tied to an Azure LB.
|
||||
|
||||
* Map this to an available domain of your choice on the Azure portal (or use
|
||||
any other DNS service provider!)
|
||||
|
||||
|
||||
### Start the Kubernetes Deployment for BigchainDB Web Proxy
|
||||
|
||||
* Use the command below to start the Kubernetes Deployment:
|
||||
```
|
||||
kubectl apply -f nginx-https-web-proxy-dep.yaml
|
||||
```
|
||||
Reference in New Issue
Block a user