Skip to content

Commit

Permalink
Added missed websecure route for analytics (cvat-ai#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhavoro authored May 25, 2022
1 parent 5377973 commit cc73962
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Task creation progressbar bug (<https://github.com/cvat-ai/cvat/issues/12>)
- Removed Python dependency ``open3d`` which brought different issues to the building process
- Analytics not accessible when https is enabled (<https://github.com/cvat-ai/cvat/pull/20>)
- Dataset import in an organization (<https://github.com/cvat-ai/cvat/pull/18>)

### Security
Expand Down
9 changes: 9 additions & 0 deletions components/analytics/kibana_conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cc73962

Please sign in to comment.