This repository has been archived on 2026-08-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
infra/stacks/traefik/dynamic/opytex.toml

29 lines
925 B
TOML

[http]
[http.routers]
[http.routers.opytexorg]
entryPoints = ["web-secure"]
service = "opytexorg"
middlewares = ["opytexorgstripprefix@file", "opytexorgindex@file", "opytexerror@file"]
rule = "Host(`opytex.org`)"
[http.routers.opytexorg.tls]
certResolver = "letsencrypt"
[[http.routers.opytexorg.tls.domains]]
main = "opytex.org"
[http.services]
[http.services.opytexorg.loadBalancer]
[[http.services.opytexorg.loadBalancer.servers]]
url = "http://minio:9000"
[http.middlewares]
[http.middlewares.opytexorgindex.replacePathRegex]
regex = "^(.*)/$"
replacement = "$1/index.html"
[http.middlewares.opytexorgstripprefix.addPrefix]
prefix = "/opytex.org"
[http.middlewares.opytexerror.errors]
status = ["400-499", "500-599"]
service = "opytexorg@file"
query = "opytex.org/404.html"