Encourage https for bottle hosting
I assume that we want to encourage people hosting their own bottles to serve them using `https`. This PR has a trivial change in the example. We may consider adding some text to the `root_url` description with a discussion of security. Also use https://example.com instead of http://mikemcquaid.com in bottle example. Closes Homebrew/homebrew#44651. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
8318500294
commit
d3d1b6f0fe
@ -32,7 +32,7 @@ end
|
|||||||
A full example:
|
A full example:
|
||||||
```ruby
|
```ruby
|
||||||
bottle do
|
bottle do
|
||||||
root_url "http://mikemcquaid.com"
|
root_url "https://example.com"
|
||||||
prefix "/opt/homebrew"
|
prefix "/opt/homebrew"
|
||||||
cellar "/opt/homebrew/Cellar"
|
cellar "/opt/homebrew/Cellar"
|
||||||
revision 4
|
revision 4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user