Moved http->https redir rules from traefik container to cypherapps

This commit is contained in:
kexkey
2020-01-20 16:57:48 -05:00
parent 53ddf04217
commit 79fa6f61b8
2 changed files with 3 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ services:
- "$GATEKEEPER_DATAPATH/htpasswd:/htpasswd/htpasswd"
labels:
- "traefik.docker.network=cyphernodeappsnet"
- "traefik.frontend.entryPoints=https"
- "traefik.frontend.redirect.regex=^(.*)/sparkwallet$$"
- "traefik.frontend.redirect.replacement=$$1/sparkwallet/"
- "traefik.frontend.rule=PathPrefix:/sparkwallet;ReplacePathRegex: ^/sparkwallet/(.*) /$$1"
@@ -26,4 +27,3 @@ services:
networks:
cyphernodeappsnet:
external: true

View File

@@ -16,6 +16,8 @@ services:
restart: always
labels:
- "traefik.docker.network=cyphernodeappsnet"
- "traefik.frontend.entryPoints=https"
- "traefik.frontend.redirect.entryPoint=https"
- "traefik.frontend.rule=PathPrefixStrip:/welcome"
- "traefik.frontend.passHostHeader=true"
- "traefik.enable=true"