diff --git a/CHANGELOG.md b/CHANGELOG.md index c3ac63fa..bdeee72b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Task creation progressbar bug () - Removed Python dependency ``open3d`` which brought different issues to the building process +- Analytics not accessible when https is enabled () - Dataset import in an organization () ### Security diff --git a/components/analytics/kibana_conf.yml b/components/analytics/kibana_conf.yml index 347d5611..1c53b6a8 100644 --- a/components/analytics/kibana_conf.yml +++ b/components/analytics/kibana_conf.yml @@ -8,6 +8,15 @@ http: - strip-prefix service: kibana rule: Host(`{{ env "CVAT_HOST" }}`) && PathPrefix(`/analytics`) + kibana_https: + entryPoints: + - websecure + middlewares: + - analytics-auth + - strip-prefix + service: kibana + tls: {} + rule: Host(`{{ env "CVAT_HOST" }}`) && PathPrefix(`/analytics`) middlewares: analytics-auth: diff --git a/docker-compose.https.yml b/docker-compose.https.yml index efdcf692..ed949c6a 100644 --- a/docker-compose.https.yml +++ b/docker-compose.https.yml @@ -21,6 +21,7 @@ services: command: - "--providers.docker.exposedByDefault=false" - "--providers.docker.network=cvat" + - '--providers.file.directory=/etc/traefik/rules' - "--entryPoints.web.address=:80" - "--entryPoints.web.http.redirections.entryPoint.to=websecure" - "--entryPoints.web.http.redirections.entryPoint.scheme=https"