| <html> |
| <head> |
| <!-- Matomo --> |
| <script> |
| var _paq = window._paq = window._paq || []; |
| /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ |
| _paq.push(["setDoNotTrack", true]); |
| _paq.push(["disableCookies"]); |
| _paq.push(['trackPageView']); |
| _paq.push(['enableLinkTracking']); |
| (function() { |
| var u="https://analytics.apache.org/"; |
| _paq.push(['setTrackerUrl', u+'matomo.php']); |
| _paq.push(['setSiteId', '79']); |
| var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |
| g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); |
| })(); |
| </script> |
| <!-- End Matomo Code --> |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> |
| <title>Grails Reference</title> |
| <link rel="stylesheet" href="../../css/ref.css" type="text/css" media="screen" title="Ref" charset="utf-8" /> |
| <link rel="icon" href="../../img/favicon.ico" type="image/x-icon"/> |
| <link rel="shortcut icon" href="../../img/favicon.ico" type="image/x-icon"/> |
| </head> |
| <body class="body"> |
| <h1>add-proxy</h1><p class="paragraph"/><h2>Purpose</h2><p class="paragraph"/>Adds a proxy configuration that Grails can use when communicating over the internet such as with the <a href="../../ref/Command Line/install-plugin.html" class="commandLine">install-plugin</a> command.<p class="paragraph"/>The proxy configuration can be activated with the <a href="../../ref/Command Line/set-proxy.html" class="commandLine">set-proxy</a> command.<p class="paragraph"/><h2>Examples</h2><p class="paragraph"/><div class="code"><pre>grails add-proxy client --host=proxy-server --port=4300 --username=guest --password=guest</pre></div><p class="paragraph"/><h2>Description</h2><p class="paragraph"/>Usage: |
| <div class="code"><pre>grails add-proxy [name] --host=[server] --port=[port] --username=[username]* --password=[password]*</pre></div><p class="paragraph"/>Arguments: |
| <ul class="star"> |
| <li><code>name</code> - The name of the proxy configuration</li> |
| <li><code>host</code> - The server host</li> |
| <li><code>port</code> - The server port</li> |
| <li><code>username</code> (optional) - The server username</li> |
| <li><code>password</code> (optional) - The server password</li> |
| </ul><p class="paragraph"/> |
| </body> |
| </html> |