-
Notifications
You must be signed in to change notification settings - Fork 387
CloudBeaver and Nginx
DBeaverDevOps edited this page Jun 19, 2024
·
7 revisions
By default CloudBeaver listens to plain http protocol, processes all static content via the Jetty server and is not load balanced.
All these issues can be resolved by putting a real web server in front of CloudBeaver.
We can use Nginx as the most popular web server.
sudo apt update
sudo apt install nginx
Open the Nginx configuration in your favorite text editor.
The default Nginx config file is /etc/nginx/sites-enabled/default
.
location / {
proxy_pass http://localhost:8978;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
To identify the information (real IP address) of client connected to the web server through NGINX, add the parameter forwardProxy:true
into your server configuration.
- Application overview
- Demo Server
- Administration
- Supported databases
- Accessibility
- Keyboard shortcuts
- Features
- Server configuration
- CloudBeaver and Nginx
- Domain manager
- Configuring HTTPS for Jetty server
- Product configuration parameters
- Command line parameters
- Local Preferences
- Team Edition Overview
- Getting started with Team Edition
- Team Edition Server Configuration
- Projects in Team Edition
- Teams in Team Edition
- Team Edition Deployment
- Roles in Team Edition
- Git integration in Team Edition
- Datasets in Team Edition
-
CloudBeaver Community
-
CloudBeaver AWS
-
CloudBeaver Enterprise
-
Deployment options
-
Development