[GH-ISSUE #2086] Apache proxy configuration #618

Closed
opened 2026-03-07 20:52:07 +03:00 by kerem · 0 comments
Owner

Originally created by @albenard on GitHub (Oct 25, 2023).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2086

Hi, in documentation i find information for nginx :

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";
}
I have installed docker and cloudbeaver and ran 'docker run ... -p8080:8978 ...' like in documentation and i can access http://myserver:8080 to work with cloudbeaver but in my production environment the 8080 port is not enable so i would like to use my apache server with an alias like http://myserver/cloudbeaver. I use configuration like
<Location /cloudbeaver>
ProxyPassReverse /
RequestHeader set X-Real-IP %{REMOTE_ADDR}s
RequestHeader set X-Forwarded-For %{HTTP:X-Forwarded-For}s
RequestHeader set Host %{HTTP_HOST}s
RequestHeader set Upgrade %{HTTP_UPGRADE}s
RequestHeader set Connection "Upgrade"
Order allow,deny
Allow from all

ProxyPass /cloudbeaver http://localhost:8080
ProxyPassReverse /cloudbeaver http://localhost:8080
And i have error message with http://192.16.20.140/cloudbeaver 👍
image
Have any body success configure an apache with proxy for access to cloudbeaver? Thanks or your help. I think this solution coul be in the documentation (if there is a solution).

Originally created by @albenard on GitHub (Oct 25, 2023). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2086 Hi, in documentation i find information for nginx : 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"; } I have installed docker and cloudbeaver and ran 'docker run ... -p8080:8978 ...' like in documentation and i can access http://myserver:8080 to work with cloudbeaver but in my production environment the 8080 port is not enable so i would like to use my apache server with an alias like http://myserver/cloudbeaver. I use configuration like <Location /cloudbeaver> ProxyPassReverse / RequestHeader set X-Real-IP %{REMOTE_ADDR}s RequestHeader set X-Forwarded-For %{HTTP:X-Forwarded-For}s RequestHeader set Host %{HTTP_HOST}s RequestHeader set Upgrade %{HTTP_UPGRADE}s RequestHeader set Connection "Upgrade" Order allow,deny Allow from all </Location> ProxyPass /cloudbeaver http://localhost:8080 ProxyPassReverse /cloudbeaver http://localhost:8080 And i have error message with http://192.16.20.140/cloudbeaver 👍 ![image](https://github.com/dbeaver/cloudbeaver/assets/60139239/afac1703-0ad6-4c75-a592-d56b64d5f09c) Have any body success configure an apache with proxy for access to cloudbeaver? Thanks or your help. I think this solution coul be in the documentation (if there is a solution).
kerem 2026-03-07 20:52:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#618
No description provided.