diff --git a/services.yml b/services.yml index 5e31eab..d563432 100644 --- a/services.yml +++ b/services.yml @@ -1,12 +1,18 @@ # testt http: routers: + http-catchall: + rule: "HostRegexp(`{host:.+}`)" + entryPoints: + - web + middlewares: + - redirect-to-https + service: noop + bookshelf: rule: "Host(`bookshelf.aldon.fr`)" entryPoints: - websecure - middlewares: - - redirect-to-https service: bookshelf tls: certResolver: letsencrypt @@ -14,8 +20,6 @@ http: rule: "Host(`gitea.aldon.fr`)" entryPoints: - websecure - middlewares: - - redirect-to-https service: gitea tls: certResolver: letsencrypt @@ -31,7 +35,7 @@ http: passHostHeader: true servers: - url: "http://192.168.1.90:3000" - + middlewares: redirect-to-https: redirectScheme: