[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"