File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## Version 2022/02/20
2+ # make sure that your dns has a cname set for cloudbeaver and that your cloudbeaver container is not using a base url
3+ # tested using dbeaver/cloudbeaver
4+
5+ server {
6+ listen 443 ssl;
7+ listen [::]:443 ssl;
8+
9+ server_name cloudbeaver.*;
10+
11+ include /config/nginx/ssl.conf;
12+
13+ client_max_body_size 75M;
14+ proxy_redirect off;
15+ proxy_buffering off;
16+
17+ # enable for ldap auth, fill in ldap details in ldap.conf
18+ #include /config/nginx/ldap.conf;
19+
20+ # enable for Authelia
21+ #include /config/nginx/authelia-server.conf;
22+
23+ location / {
24+ # enable the next two lines for http auth
25+ #auth_basic "Restricted";
26+ #auth_basic_user_file /config/nginx/.htpasswd;
27+
28+ # enable the next two lines for ldap auth
29+ #auth_request /auth;
30+ #error_page 401 =200 /ldaplogin;
31+
32+ # enable for Authelia
33+ #include /config/nginx/authelia-location.conf;
34+
35+ include /config/nginx/proxy.conf;
36+ include /config/nginx/resolver.conf;
37+ set $upstream_app cloudbeaver;
38+ set $upstream_port 8978;
39+ set $upstream_proto http;
40+ proxy_pass $upstream_proto://$upstream_app:$upstream_port;
41+
42+ }
43+ }
You can’t perform that action at this time.
0 commit comments