Skip to content

Commit

Permalink
test(traefik): pushing new config
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisDommer committed Nov 24, 2023
1 parent 30a1b93 commit 181479b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
- 80:80
- 443:443
- 30000:30000
- 3000:3000
networks:
- proxy
volumes:
Expand All @@ -23,6 +24,7 @@ services:
- --providers.docker.exposedByDefault=false
- --entrypoints.web.address=:80
- --entrypoints.ws.address=:30000
- --entrypoints.configure.address=:3000
- --entrypoints.ws.http.tls.certresolver=myresolver
- --entrypoints.web.http.redirections.entrypoint.to=websecure
- --entrypoints.web.http.redirections.entrypoint.scheme=https
Expand Down Expand Up @@ -50,7 +52,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.webserver.rule=Host(`${HOSTNAME}`)"
- "traefik.http.services.webserver.loadbalancer.server.port=80"
# - "traefik.http.services.webserver.loadbalancer.server.port=80"

- traefik.http.middlewares.mywwwredirect.redirectregex.regex=^https://www\.(.*)
- traefik.http.middlewares.mywwwredirect.redirectregex.replacement=https://$${1}
Expand Down

0 comments on commit 181479b

Please sign in to comment.