I have setup remote geth nodes that are constantly running as web3 providers to support my DApp.
What is the best way to restrict access to make sure that only authorized clients (my server) are connecting to this geth node?
For example, infura requires an access key for users: https://mainnet.infura.io/{ACCESS_KEY}
.
How would I set something like that up for my geth node?
The RPC port of the geth node is 8545 and I am using an nginx reverse proxy to serve an SSL/TLS connection on port 443 since my DApp is secured (https).