Using self-deployed HTTP proxy
In this section you will learn how to use self-deployed HTTP proxy
Last updated
In this section you will learn how to use self-deployed HTTP proxy
Last updated
By default, all queries for HTTP-based resources (Custom Rest API, 3rd party integrations) are sent by Jet Admin through our Jet Bridge proxy endpoint at https://api.jetadmin.io/api/proxy_request/ for convenience. Requests data going through our servers are never being recorded, but if you don't want data to go through Jet Admin servers you can use a self-hosted HTTP Proxy on your side as part of an open-source Jet Bridge application.
Follow the instructions after you have created the Jet Admin Rest API resource:
Use the following guides to install the Jet Bridge application as a standalone Python application or Docker container.
Python app InstallationDocker InstallationYou can skip a database configuration part and use Jet Bridge just for proxying HTTP requests. For such cases use none for the DATABASE_ENGINE configuration parameter.
After installation specify the following parameter if you don't want to place Jet Bridge behind your web server and set CORS headers on your own: ALLOW_ORIGIN = <Jet Admin hostname> (https://app.jetadmin.io or your custom domain)
Check the link below to learn how to specify Jet Bridge configuration:
Configuration3. Update resource to use custom HTTP proxy
In resource settings click the Edit Settings button and set Custom HTTP proxy to your Jet Bridge proxy request URL: <JET_BRIDGE_HOST>/api/proxy_request/
For example for Jet Bridge running on localhost and port 8888 this will be: http://localhost:8888/api/proxy_request/
Now all HTTP queries for this resource will be sent through your server.