Securing gitea api
This commit is contained in:
@@ -92,6 +92,8 @@ services:
|
|||||||
PathPrefix(`/user/two_factor`) ||
|
PathPrefix(`/user/two_factor`) ||
|
||||||
PathPrefix(`/login/oauth`) ||
|
PathPrefix(`/login/oauth`) ||
|
||||||
PathPrefix(`/explore`) ||
|
PathPrefix(`/explore`) ||
|
||||||
|
PathPrefix(`/api`) ||
|
||||||
|
PathPrefix(`/api/swagger`) ||
|
||||||
PathRegexp(`^/TheHomelessSherlock/?$`))
|
PathRegexp(`^/TheHomelessSherlock/?$`))
|
||||||
traefik.http.routers.gitea-login.entrypoints: "${TRAEFIK_ENTRYPOINT_SECURE}"
|
traefik.http.routers.gitea-login.entrypoints: "${TRAEFIK_ENTRYPOINT_SECURE}"
|
||||||
traefik.http.routers.gitea-login.tls: "true"
|
traefik.http.routers.gitea-login.tls: "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user