Answers.Body: <p>Currently, it's not possible, but I'll add it to our "todo" list!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-17T08:29:22.643Z
Answers.Text: Great, thanks! I know this would be useful in a lot of corporate environments.
Answers.UserDisplayName: Goldyberg
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-17T00:17:07.853Z
Answers.LastActivityDate: 2014-07-17T00:17:07.853Z
Answers.UserDisplayName: Brad Bell
Body: <p>Is there a config setting to be able to set a proxy in Craft? WordPress has something like this...</p>
  
  <pre><code>define('WP_PROXY_HOST', 'url_here);
  define('WP_PROXY_PORT', 'port_here');
  </code></pre>
  
  <p>I was thinking a config setting like the following would be great...</p>
  
  <pre><code>'setProxy' =&gt; array(
      'host' =&gt; 'url_here',
      'port' =&gt; 'port_here'
  ),
  </code></pre>
  
  <p>Thanks,
  David</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-16T15:32:05.127Z
Comments.Text: I'm having a hard time finding any documentation for those constants.  Do you know of any?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-16T17:57:31.583Z
Comments.Text: I assume it's for making all of Craft's outbound requests (updating, etc.) point to a proxy server for internet access?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-17T00:08:49.517Z
Comments.Text: Yup that's correct. It's not obviously available in the WP codex but http://codex.wordpress.org/HTTP_API has a couple paragraphs. "...WordPress 2.8, compression, cookie support and proxy support were added."
Comments.UserDisplayName: Goldyberg
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-17T00:09:16.063Z
Comments.Text: Example...http://www.wprecipes.com/wordpress-fetch-file-through-proxy
Comments.UserDisplayName: Goldyberg
Tags: <config>
Title: Setting a proxy?
ThreadText: # Setting a proxy?
  
  (Asked by: username_0 on 2014-07-16)
  
  Is there a config setting to be able to set a proxy in Craft? WordPress has something like this...
  
  ```
  define('WP_PROXY_HOST', 'url_here);
  define('WP_PROXY_PORT', 'port_here');
  
  ```
  
  I was thinking a config setting like the following would be great...
  
  ```
  'setProxy' => array(
      'host' => 'url_here',
      'port' => 'port_here'
  ),
  
  ```
  
  Thanks,
  David
  
  **Tags:** config
  
  > **Comments:**
  > **username_1**: I'm having a hard time finding any documentation for those constants.  Do you know of any?  
  > **username_1**: I assume it's for making all of Craft's outbound requests (updating, etc.) point to a proxy server for internet access?  
  > **username_0**: Yup that's correct. It's not obviously available in the WP codex but http://codex.wordpress.org/HTTP_API has a couple paragraphs. "...WordPress 2.8, compression, cookie support and proxy support were added."  
  > **username_0**: Example...http://www.wprecipes.com/wordpress-fetch-file-through-proxy  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-07-17. Score: 2 | Accepted answer
  
  Currently, it's not possible, but I'll add it to our "todo" list!
  
  > **Comments:**
  > **username_0**: Great, thanks! I know this would be useful in a lot of corporate environments.  
  
  ---
  
  