Added missed websecure route for analytics (#20)

main
Andrey Zhavoronkov 4 years ago committed by GitHub
parent 5377973e86
commit cc73962e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Task creation progressbar bug (<https://github.com/cvat-ai/cvat/issues/12>) - Task creation progressbar bug (<https://github.com/cvat-ai/cvat/issues/12>)
- Removed Python dependency ``open3d`` which brought different issues to the building process - 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>) - Dataset import in an organization (<https://github.com/cvat-ai/cvat/pull/18>)
### Security ### Security

@ -8,6 +8,15 @@ http:
- strip-prefix - strip-prefix
service: kibana service: kibana
rule: Host(`{{ env "CVAT_HOST" }}`) && PathPrefix(`/analytics`) 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: middlewares:
analytics-auth: analytics-auth:

@ -21,6 +21,7 @@ services:
command: command:
- "--providers.docker.exposedByDefault=false" - "--providers.docker.exposedByDefault=false"
- "--providers.docker.network=cvat" - "--providers.docker.network=cvat"
- '--providers.file.directory=/etc/traefik/rules'
- "--entryPoints.web.address=:80" - "--entryPoints.web.address=:80"
- "--entryPoints.web.http.redirections.entryPoint.to=websecure" - "--entryPoints.web.http.redirections.entryPoint.to=websecure"
- "--entryPoints.web.http.redirections.entryPoint.scheme=https" - "--entryPoints.web.http.redirections.entryPoint.scheme=https"

Loading…
Cancel
Save