diff --git a/consul_service/file.json b/consul_service/file.json new file mode 100644 index 0000000..fe1f7a5 --- /dev/null +++ b/consul_service/file.json @@ -0,0 +1,13 @@ +{ + "Service": { + "Name": "file", + "address": "192.168.1.10", + "port": 7000, + "tags": [ + "traefik.enable=true", + "traefik.http.routers.file.rule=Host(`file.ducamps.win`)", + "traefik.http.routers.file.tls.domains[0].sans=file.ducamps.win", + "traefik.http.routers.file.tls.certresolver=myresolver" + ] + } +}