@@ -92,7 +92,7 @@ services:
9292 # NOTE: apiserver does not need sslheader since there is no socket.io
9393 - traefik.http.routers.${SWARM_STACK_NAME}_api-server.middlewares =${SWARM_STACK_NAME}_gzip@swarm
9494 - traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.service =${SWARM_STACK_NAME}_api-server
95- - traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.rule =PathPrefix( ` /dev /`)
95+ - traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.rule =PathPrefix( ` /dev /`) || PathPrefix(` / doc / `) || PathPrefix(` / doc`)
9696 - traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.entrypoints =simcore_api
9797 - traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.priority =6
9898 update_config:
@@ -227,7 +227,7 @@ services:
227227 - traefik.http.routers.${SWARM_STACK_NAME}_webserver.middlewares =${SWARM_STACK_NAME}_gzip@swarm, ${SWARM_STACK_NAME_NO_HYPHEN}_sslheader
228228 - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.service =${SWARM_STACK_NAME}_webserver
229229 - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.middlewares =${SWARM_STACK_NAME}_gzip@swarm, ${SWARM_STACK_NAME_NO_HYPHEN}_sslheader
230- - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.rule =PathPrefix( ` /dev /`)
230+ - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.rule =PathPrefix( ` /dev /`) || PathPrefix(` / doc / `) || PathPrefix(` / doc`)
231231 - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.entrypoints =http
232232 - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.priority =6
233233 - traefik.http.middlewares.${SWARM_STACK_NAME_NO_HYPHEN}_webserver_swagger_auth.basicauth.users =${TRAEFIK_USER}:${TRAEFIK_PASSWORD}
@@ -770,7 +770,7 @@ services:
770770 - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.tls =true
771771 - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.middlewares =ops_gzip@swarm, ops_sslheader@swarm, ops_ratelimit@swarm
772772 - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.service =${SWARM_STACK_NAME}_simcore_http
773- - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.rule =((${DEPLOYMENT_FQDNS_CAPTURE_TRAEFIK_RULE_CATCHALL}) && PathPrefix(` /`)) || ( (PathPrefix(` /dashboard`) || PathPrefix(` /api`) ) && Host(`traefikdashboard.${MACHINE_FQDN}`))
773+ - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.rule =((${DEPLOYMENT_FQDNS_CAPTURE_TRAEFIK_RULE_CATCHALL}) && PathPrefix(` /`)) || ( (PathPrefix(` /dashboard`) || PathPrefix(` /api`) || PathPrefix(` / doc`) ) && Host(`traefikdashboard.${MACHINE_FQDN}`))
774774 - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.priority =3
775775 # oSparc publicAPI
776776 - traefik.http.routers.${SWARM_STACK_NAME}_simcore_api.rule =(${DEPLOYMENT_API_DOMAIN_CAPTURE_TRAEFIK_RULE}) && PathPrefix(` /`)
0 commit comments