Skip to content

Commit

Permalink
Add note to disable specific applications
Browse files Browse the repository at this point in the history
  • Loading branch information
otahi committed Nov 23, 2014
1 parent 18fe70b commit b73020f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,22 @@ VAGRANT_HTTP_PROXY="http://proxy.example.com:8080" vagrant up

### Disabling the plugin

The plugin can be totally skipped by setting `config.proxy.enabled` to `false` or empty string (`""`). This can be useful to for example disable it for some provider.
The plugin can be totally skipped by setting `config.proxy.enabled` to `false` or empty string (`""`).
This can be useful to for example disable it for some provider.
Specific applications can be skipped by setting `config.proxy.enabled` to
a hash( like `{ svn: false }`).
This disabling keeps proxy configurations for applications on the guest.
The configurations must be cleared before disabling if needed.

```ruby
config.proxy.enabled # => all applications enabled(default)
config.proxy.enabled = true # => all applications enabled
config.proxy.enabled = { svn: false, docker: false }
# => specific applications disabled
config.proxy.enabled = "" # => all applications disabled
config.proxy.enabled = false # => all applications disabled
```

#### Example Vagrantfile

```ruby
Expand Down

0 comments on commit b73020f

Please sign in to comment.