Skip to content

Commit

Permalink
fix: add redirect to https by default (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio authored May 30, 2024
1 parent 71be1ed commit a310065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/utils/traefik/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const createRegistryRouterConfig = async (registry: Registry) => {
const routerConfig: HttpRouter = {
rule: `Host(\`${registryUrl}\`)`,
service: "dokploy-registry-service",
middlewares: ["redirect-to-https"],
entryPoints: [
"web",
...(process.env.NODE_ENV === "production" ? ["websecure"] : []),
Expand Down

0 comments on commit a310065

Please sign in to comment.