From cae0ff354add56cbce1b0eecfa5547144e05f4ef Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 13 Jan 2016 17:44:01 -0500 Subject: [PATCH] Use HTTPS + www. where appropriate --- README.md | 6 +++--- api/README.md | 3 +-- api/lock.go | 2 +- command/agent/command.go | 2 +- demo/vagrant-cluster/README.md | 2 +- ui/README.md | 2 +- ui/index.html | 8 ++++---- ui/style-guide.html | 2 +- website/README.md | 2 +- website/source/docs/agent/checks.html.markdown | 6 +++--- website/source/docs/agent/options.html.markdown | 2 +- website/source/docs/faq.html.markdown | 2 +- website/source/docs/internals/acl.html.markdown | 2 +- .../source/docs/internals/architecture.html.markdown | 6 +++--- website/source/docs/internals/consensus.html.markdown | 8 ++++---- website/source/docs/internals/gossip.html.markdown | 2 +- website/source/docs/internals/security.html.markdown | 4 ++-- website/source/downloads.html.erb | 2 +- .../source/intro/getting-started/join.html.markdown | 4 ++-- website/source/intro/hashicorp-ecosystem.html.markdown | 10 +++++----- website/source/layouts/_header.erb | 2 +- 21 files changed, 39 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 4cb53a6dc5..4706427acd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Consul [![Build Status](https://travis-ci.org/hashicorp/consul.png)](https://travis-ci.org/hashicorp/consul) -* Website: http://www.consul.io +* Website: https://www.consul.io * IRC: `#consul` on Freenode * Mailing list: [Google Groups](https://groups.google.com/group/consul-tool/) @@ -32,13 +32,13 @@ Consul servers only on Linux, however. An extensive quick quick start is viewable on the Consul website: -http://www.consul.io/intro/getting-started/install.html +https://www.consul.io/intro/getting-started/install.html ## Documentation Full, comprehensive documentation is viewable on the Consul website: -http://www.consul.io/docs +https://www.consul.io/docs ## Developing Consul diff --git a/api/README.md b/api/README.md index 6fcdd2033d..7e64988f42 100644 --- a/api/README.md +++ b/api/README.md @@ -9,7 +9,7 @@ Currently, all of the Consul APIs included in version 0.6.0 are supported. Documentation ============= -The full documentation is available on [Godoc](http://godoc.org/github.com/hashicorp/consul/api) +The full documentation is available on [Godoc](https://godoc.org/github.com/hashicorp/consul/api) Usage ===== @@ -41,4 +41,3 @@ if err != nil { fmt.Printf("KV: %v", pair) ``` - diff --git a/api/lock.go b/api/lock.go index 11cfdedbc8..08e8e79310 100644 --- a/api/lock.go +++ b/api/lock.go @@ -56,7 +56,7 @@ var ( ) // Lock is used to implement client-side leader election. It is follows the -// algorithm as described here: https://consul.io/docs/guides/leader-election.html. +// algorithm as described here: https://www.consul.io/docs/guides/leader-election.html. type Lock struct { c *Client opts *LockOptions diff --git a/command/agent/command.go b/command/agent/command.go index f48f24a188..e607a7ffb1 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -183,7 +183,7 @@ func (c *Command) readConfig() *Config { if _, err := os.Stat(mdbPath); !os.IsNotExist(err) { c.Ui.Error(fmt.Sprintf("CRITICAL: Deprecated data folder found at %q!", mdbPath)) c.Ui.Error("Consul will refuse to boot with this directory present.") - c.Ui.Error("See https://consul.io/docs/upgrade-specific.html for more information.") + c.Ui.Error("See https://www.consul.io/docs/upgrade-specific.html for more information.") return nil } } diff --git a/demo/vagrant-cluster/README.md b/demo/vagrant-cluster/README.md index ebd8f7d6ab..ad07f76b87 100644 --- a/demo/vagrant-cluster/README.md +++ b/demo/vagrant-cluster/README.md @@ -23,5 +23,5 @@ At this point the two nodes are running and you can SSH in to play with them: ... To learn more about starting Consul, joining nodes and interacting with the agent, -checkout the [getting started guide](http://www.consul.io/intro/getting-started/install.html). +checkout the [getting started guide](https://www.consul.io/intro/getting-started/install.html). diff --git a/ui/README.md b/ui/README.md index 08d4a9b64f..8b95eb5603 100644 --- a/ui/README.md +++ b/ui/README.md @@ -5,7 +5,7 @@ HTTP server that serves this directory, but any common HTTP server is capable of serving it. It uses JavaScript and [Ember](http://emberjs.com) to communicate with -the [Consul API](http://www.consul.io/docs/agent/http.html). The basic +the [Consul API](https://www.consul.io/docs/agent/http.html). The basic features it provides are: - Service view. A list of your registered services, their diff --git a/ui/index.html b/ui/index.html index f87de4214a..4102c50b12 100644 --- a/ui/index.html +++ b/ui/index.html @@ -62,7 +62,7 @@

The default agent token does not have the appropriate permissions to perform the expected action.

{{/if}} -

Learn more in the ACL documentation.

+

Learn more in the ACL documentation.

@@ -74,7 +74,7 @@

ACLs Disabled

ACLs are disabled in this Consul cluster. This is the default behavior, as you have to explicitly enable them.

-

Learn more in the ACL documentation.

+

Learn more in the ACL documentation.

@@ -645,7 +645,7 @@
{{ textarea value=newAcl.Rules class="form-control" }} - For more information on rules, visit the ACL documentation. + For more information on rules, visit the ACL documentation.
@@ -691,7 +691,7 @@
{{ textarea value=model.Rules class="form-control" }} - For more information on rules, visit the ACL documentation. + For more information on rules, visit the ACL documentation.
diff --git a/ui/style-guide.html b/ui/style-guide.html index e08568458f..f4b66da952 100644 --- a/ui/style-guide.html +++ b/ui/style-guide.html @@ -12,7 +12,7 @@

Consul Web UI Style Guide

-

This is style guide for the Consul Web UI. When possible, +

This is style guide for the Consul Web UI. When possible, it's best to follow this guide modifying the UI.

Some reasoning behind choices:

    diff --git a/website/README.md b/website/README.md index ee619d9dc2..b33c268d02 100644 --- a/website/README.md +++ b/website/README.md @@ -1,7 +1,7 @@ Consul Website ============== -This subdirectory contains the entire source for the [Consul Website](http://www.consul.io). This is a [Middleman](http://middlemanapp.com) project, which builds a static site from these source files. +This subdirectory contains the entire source for the [Consul Website](https://www.consul.io). This is a [Middleman](http://middlemanapp.com) project, which builds a static site from these source files. Contributions Welcome! ---------------------- diff --git a/website/source/docs/agent/checks.html.markdown b/website/source/docs/agent/checks.html.markdown index 30a7bd588e..73b00914ee 100644 --- a/website/source/docs/agent/checks.html.markdown +++ b/website/source/docs/agent/checks.html.markdown @@ -53,8 +53,8 @@ There are four different kinds of checks: can periodically `PUT` a status update to the HTTP endpoint; if the app fails, the TTL will expire and the health check enters a critical state. The endpoints used to update health information for a given check are the - [pass endpoint](https://consul.io/docs/agent/http/agent.html#agent_check_pass) - and the [fail endpoint](https://consul.io/docs/agent/http/agent.html#agent_check_fail). + [pass endpoint](https://www.consul.io/docs/agent/http/agent.html#agent_check_pass) + and the [fail endpoint](https://www.consul.io/docs/agent/http/agent.html#agent_check_fail). TTL checks also persist their last known status to disk. This allows the Consul agent to restore the last known status of the check across restarts. Persisted check status is @@ -157,7 +157,7 @@ used for any interaction with the catalog for the check, including Script, TCP, Docker and HTTP checks must include an `interval` field. This field is parsed by Go's `time` package, and has the following -[formatting specification](http://golang.org/pkg/time/#ParseDuration): +[formatting specification](https://golang.org/pkg/time/#ParseDuration): > A duration string is a possibly signed sequence of decimal numbers, each with > optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". > Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". diff --git a/website/source/docs/agent/options.html.markdown b/website/source/docs/agent/options.html.markdown index b8315b280a..3b1eded12a 100644 --- a/website/source/docs/agent/options.html.markdown +++ b/website/source/docs/agent/options.html.markdown @@ -479,7 +479,7 @@ definitions support being updated during a reload. * `http_api_response_headers` This object allows adding headers to the HTTP API responses. For example, the following config can be used to enable - [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) on + [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) on the HTTP API endpoints: ```javascript diff --git a/website/source/docs/faq.html.markdown b/website/source/docs/faq.html.markdown index 96b8697986..e993188c97 100644 --- a/website/source/docs/faq.html.markdown +++ b/website/source/docs/faq.html.markdown @@ -35,7 +35,7 @@ See the [Atlas integration guide](/docs/guides/atlas.html) for more details. ## Q: Does Consul rely on UDP Broadcast or Multicast? -Consul uses the [Serf](https://serfdom.io) gossip protocol which relies on +Consul uses the [Serf](https://www.serfdom.io) gossip protocol which relies on TCP and UDP unicast. Broadcast and Multicast are rarely available in a multi-tenant or cloud network environment. For that reason, Consul and Serf were both designed to avoid any dependence on those capabilities. diff --git a/website/source/docs/internals/acl.html.markdown b/website/source/docs/internals/acl.html.markdown index d661bca1f0..c73b7fe771 100644 --- a/website/source/docs/internals/acl.html.markdown +++ b/website/source/docs/internals/acl.html.markdown @@ -10,7 +10,7 @@ description: |- Consul provides an optional Access Control List (ACL) system which can be used to control access to data and APIs. The ACL is -[Capability-based](http://en.wikipedia.org/wiki/Capability-based_security), relying +[Capability-based](https://en.wikipedia.org/wiki/Capability-based_security), relying on tokens to which fine grained rules can be applied. It is very similar to [AWS IAM](http://aws.amazon.com/iam/) in many ways. diff --git a/website/source/docs/internals/architecture.html.markdown b/website/source/docs/internals/architecture.html.markdown index ef47cac1c6..8d01e4b07e 100644 --- a/website/source/docs/internals/architecture.html.markdown +++ b/website/source/docs/internals/architecture.html.markdown @@ -49,13 +49,13 @@ region would be considered part of a single datacenter. * Consensus - When used in our documentation we use consensus to mean agreement upon the elected leader as well as agreement on the ordering of transactions. Since these transactions are applied to a -[finite-state machine](http://en.wikipedia.org/wiki/Finite-state_machine), our definition +[finite-state machine](https://en.wikipedia.org/wiki/Finite-state_machine), our definition of consensus implies the consistency of a replicated state machine. Consensus is described -in more detail on [Wikipedia](http://en.wikipedia.org/wiki/Consensus_(computer_science)), +in more detail on [Wikipedia](https://en.wikipedia.org/wiki/Consensus_(computer_science)), and our implementation is described [here](/docs/internals/consensus.html). * Gossip - Consul is built on top of [Serf](https://www.serfdom.io/) which provides a full -[gossip protocol](http://en.wikipedia.org/wiki/Gossip_protocol) that is used for multiple purposes. +[gossip protocol](https://en.wikipedia.org/wiki/Gossip_protocol) that is used for multiple purposes. Serf provides membership, failure detection, and event broadcast. Our use of these is described more in the [gossip documentation](/docs/internals/gossip.html). It is enough to know that gossip involves random node-to-node communication, primarily over UDP. diff --git a/website/source/docs/internals/consensus.html.markdown b/website/source/docs/internals/consensus.html.markdown index c226266ad5..912f5b9f63 100644 --- a/website/source/docs/internals/consensus.html.markdown +++ b/website/source/docs/internals/consensus.html.markdown @@ -8,8 +8,8 @@ description: |- # Consensus Protocol -Consul uses a [consensus protocol](http://en.wikipedia.org/wiki/Consensus_(computer_science)) -to provide [Consistency (as defined by CAP)](http://en.wikipedia.org/wiki/CAP_theorem). +Consul uses a [consensus protocol](https://en.wikipedia.org/wiki/Consensus_(computer_science)) +to provide [Consistency (as defined by CAP)](https://en.wikipedia.org/wiki/CAP_theorem). The consensus protocol is based on ["Raft: In search of an Understandable Consensus Algorithm"](https://ramcloud.stanford.edu/wiki/download/attachments/11370504/raft.pdf). For a visual explanation of Raft, see [The Secret Lives of Data](http://thesecretlivesofdata.com/raft). @@ -22,7 +22,7 @@ to learn about them without having to go spelunking through the source code. ## Raft Protocol Overview Raft is a consensus algorithm that is based on -[Paxos](http://en.wikipedia.org/wiki/Paxos_%28computer_science%29). Compared +[Paxos](https://en.wikipedia.org/wiki/Paxos_%28computer_science%29). Compared to Paxos, Raft is designed to have fewer states and a simpler, more understandable algorithm. @@ -33,7 +33,7 @@ of consistency can be decomposed into a *replicated log*. A log is an ordered sequence of entries. We consider the log consistent if all members agree on the entries and their order. -* FSM - [Finite State Machine](http://en.wikipedia.org/wiki/Finite-state_machine). +* FSM - [Finite State Machine](https://en.wikipedia.org/wiki/Finite-state_machine). An FSM is a collection of finite states with transitions between them. As new logs are applied, the FSM is allowed to transition between states. Application of the same sequence of logs must result in the same state, meaning behavior must be deterministic. diff --git a/website/source/docs/internals/gossip.html.markdown b/website/source/docs/internals/gossip.html.markdown index 756389f1d7..543e2e74f7 100644 --- a/website/source/docs/internals/gossip.html.markdown +++ b/website/source/docs/internals/gossip.html.markdown @@ -8,7 +8,7 @@ description: |- # Gossip Protocol -Consul uses a [gossip protocol](http://en.wikipedia.org/wiki/Gossip_protocol) +Consul uses a [gossip protocol](https://en.wikipedia.org/wiki/Gossip_protocol) to manage membership and broadcast messages to the cluster. All of this is provided through the use of the [Serf library](https://www.serfdom.io/). The gossip protocol used by Serf is based on diff --git a/website/source/docs/internals/security.html.markdown b/website/source/docs/internals/security.html.markdown index 95d7003def..cc02b72bc2 100644 --- a/website/source/docs/internals/security.html.markdown +++ b/website/source/docs/internals/security.html.markdown @@ -12,7 +12,7 @@ Consul relies on both a lightweight gossip mechanism and an RPC system to provide various features. Both of the systems have different security mechanisms that stem from their designs. However, the security mechanisms of Consul have a common goal: to provide -[confidentiality, integrity, and authentication](http://en.wikipedia.org/wiki/Information_security). +[confidentiality, integrity, and authentication](https://en.wikipedia.org/wiki/Information_security). The [gossip protocol](/docs/internals/gossip.html) is powered by [Serf](https://www.serfdom.io/), which uses a symmetric key, or shared secret, cryptosystem. There are more @@ -21,7 +21,7 @@ For details on how to enable Serf's gossip encryption in Consul, see the [encryption doc here](/docs/agent/encryption.html). The RPC system supports using end-to-end TLS with optional client authentication. -[TLS](http://en.wikipedia.org/wiki/Transport_Layer_Security) is a widely deployed asymmetric +[TLS](https://en.wikipedia.org/wiki/Transport_Layer_Security) is a widely deployed asymmetric cryptosystem and is the foundation of security on the Web. This means Consul communication is protected against eavesdropping, tampering, diff --git a/website/source/downloads.html.erb b/website/source/downloads.html.erb index 7e2d69c483..1ad1602acf 100644 --- a/website/source/downloads.html.erb +++ b/website/source/downloads.html.erb @@ -25,7 +25,7 @@ description: |- verify the checksums signature file - which has been signed using HashiCorp's GPG key. + which has been signed using HashiCorp's GPG key. You can also download older versions of Consul from the releases service.

diff --git a/website/source/intro/getting-started/join.html.markdown b/website/source/intro/getting-started/join.html.markdown index d7a68d1cae..456fbdc48e 100644 --- a/website/source/intro/getting-started/join.html.markdown +++ b/website/source/intro/getting-started/join.html.markdown @@ -160,8 +160,8 @@ will automatically join your Consul cluster without any hardcoded configuration. Alternatively, you can join a cluster at startup using the -[`-join` flag](http://www.consul.io/docs/agent/options.html#_join) or -[`start_join` setting](http://www.consul.io/docs/agent/options.html#start_join) +[`-join` flag](https://www.consul.io/docs/agent/options.html#_join) or +[`start_join` setting](https://www.consul.io/docs/agent/options.html#start_join) with hardcoded addresses of other known Consul agents. ## Querying Nodes diff --git a/website/source/intro/hashicorp-ecosystem.html.markdown b/website/source/intro/hashicorp-ecosystem.html.markdown index fba55b4878..30e86bb18e 100644 --- a/website/source/intro/hashicorp-ecosystem.html.markdown +++ b/website/source/intro/hashicorp-ecosystem.html.markdown @@ -8,7 +8,7 @@ description: |- # Consul & the HashiCorp Ecosystem -HashiCorp is the creator of the open source projects Vagrant, Packer, Terraform, Serf, and Consul, and the commercial product Atlas. Terraform is just one piece of the ecosystem HashiCorp has built to make application delivery a versioned, auditable, repeatable, and collaborative process. To learn more about our beliefs on the qualities of the modern datacenter and responsible application delivery, read [The Atlas Mindset: Version Control for Infrastructure](https://hashicorp.com/blog/atlas-mindset.html/?utm_source=consul&utm_campaign=HashicorpEcosystem). +HashiCorp is the creator of the open source projects Vagrant, Packer, Terraform, Serf, and Consul, and the commercial product Atlas. Terraform is just one piece of the ecosystem HashiCorp has built to make application delivery a versioned, auditable, repeatable, and collaborative process. To learn more about our beliefs on the qualities of the modern datacenter and responsible application delivery, read [The Atlas Mindset: Version Control for Infrastructure](https://www.hashicorp.com/blog/atlas-mindset.html/?utm_source=consul&utm_campaign=HashicorpEcosystem). If you are using Consul for service discovery, it’s likely that you have a system to deploy infrastructure which Consul is then connecting. Terraform is our tool for creating, combining, and modifying infrastructure. @@ -19,12 +19,12 @@ Below are summaries of HashiCorp’s open source projects and a graphic showing [Atlas](https://atlas.hashicorp.com/?utm_source=consul&utm_campaign=HashicorpEcosystem) is HashiCorp's only commercial product. It unites Packer, Terraform, and Consul to make application delivery a versioned, auditable, repeatable, and collaborative process. -[Packer](https://packer.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for creating machine images and deployable artifacts such as AMIs, OpenStack images, Docker containers, etc. +[Packer](https://www.packer.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for creating machine images and deployable artifacts such as AMIs, OpenStack images, Docker containers, etc. -[Terraform](https://terraform.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for creating, combining, and modifying infrastructure. In the Atlas workflow Terraform reads from the artifact registry and provisions infrastructure. +[Terraform](https://www.terraform.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for creating, combining, and modifying infrastructure. In the Atlas workflow Terraform reads from the artifact registry and provisions infrastructure. -[Consul](https://consul.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for service discovery, service registry, and health checks. In the Atlas workflow Consul is configured at the Packer build stage and identifies the service(s) contained in each artifact. Since Consul is configured at the build phase with Packer, when the artifact is deployed with Terraform, it is fully configured with dependencies and service discovery pre-baked. This greatly reduces the risk of an unhealthy node in production due to configuration failure at runtime. +[Consul](https://www.consul.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for service discovery, service registry, and health checks. In the Atlas workflow Consul is configured at the Packer build stage and identifies the service(s) contained in each artifact. Since Consul is configured at the build phase with Packer, when the artifact is deployed with Terraform, it is fully configured with dependencies and service discovery pre-baked. This greatly reduces the risk of an unhealthy node in production due to configuration failure at runtime. -[Serf](https://serfdom.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for cluster membership and failure detection. Consul uses Serf’s gossip protocol as the foundation for service discovery. +[Serf](https://www.serfdom.io/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for cluster membership and failure detection. Consul uses Serf’s gossip protocol as the foundation for service discovery. [Vagrant](https://www.vagrantup.com/?utm_source=consul&utm_campaign=HashicorpEcosystem) is a HashiCorp tool for managing development environments that mirror production. Vagrant environments reduce the friction of developing a project and reduce the risk of unexpected behavior appearing after deployment. Vagrant boxes can be built in parallel with production artifacts with Packer to maintain parity between development and production. diff --git a/website/source/layouts/_header.erb b/website/source/layouts/_header.erb index fd34c548d3..5079c91b4c 100644 --- a/website/source/layouts/_header.erb +++ b/website/source/layouts/_header.erb @@ -32,7 +32,7 @@