-
Notifications
You must be signed in to change notification settings - Fork 510
Proxy Configuration
CloudBeaver includes a built-in reverse proxy for secure access and load balancing. You can choose between HAProxy and Nginx.
CloudBeaver AWS uses the default pre-configured proxy setup as the Enterprise Edition. Community Edition users need to configure the proxy manually. Read more.
Note: This feature is available in Enterprise, AWS, Team editions only.
Starting in version 25.1, CloudBeaver supports two proxy types: Nginx and HAProxy. Set the proxy type in
your .env file:
PROXY_TYPE=haproxy # Options: nginx, haproxy
If you previously used Nginx and want to switch to HAProxy, you can do it without losing configuration or SSL certificates - shared Docker volumes handle it.
For details on environment configuration, see CloudBeaver Enterprise deployment from Docker Compose
When using Docker Compose with network_mode: host, set ports with:
LISTEN_PORT_HTTP=80
LISTEN_PORT_HTTPS=443
These control which ports the proxy listens to inside the container.
If you use Nginx and set a custom COMPOSE_PROJECT_NAME in your .env, pass it explicitly in the container’s
environment block:
environment:
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}Note: This isn’t needed for HAProxy - it resolves service names via Docker DNS.
In the Community Edition, you can configure Nginx manually to set up a web server in front of CloudBeaver.
If you prefer, you can configure HTTPS directly for the Jetty server. For details, see Jetty configuration.
-
Install Nginx on your server. Refer to the official Nginx documentation.
-
Add a proxy configuration:
- Open the main Nginx configuration file in a text editor.
- In your Nginx configuration file inside the
httpsection, add the following:
server { listen 80; server_name _; client_max_body_size 500M; location / { proxy_pass http://127.0.0.1:8978; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
To ensure the client’s real IP address is forwarded when using Nginx, add the
forwardProxy:trueparameter to your server configuration. -
Apply the changes:
- Reload the Nginx configuration.
- Open CloudBeaver in your browser using
http://127.0.0.1.
- Getting started
- Create connection
- Connection network options
- Supported databases
-
Drivers management
- Database authentication methods
- Database navigator
- Properties editor
- Data editor
- SQL editor
-
Entity relation diagrams
- Cloud services
-
AI Smart assistance
- Data transfer
- General user guide
- Administration
- Server configuration
-
Server security and access configuration
- Authentication methods
- Access management
- Proxy configuration
-
Secret management
- Logs
-
Query manager
- Workspace location
- Command line parameters
-
Session manager
- Deployment options
- CloudBeaver Editions
- FAQ
- Development