Skip to content

Instantly share code, notes, and snippets.

@emcrisostomo
Created October 17, 2014 18:13
Show Gist options
  • Save emcrisostomo/be60d41ed6354e0bede1 to your computer and use it in GitHub Desktop.
Save emcrisostomo/be60d41ed6354e0bede1 to your computer and use it in GitHub Desktop.
Drupal - Proxy Settings
/**
* External access proxy settings:
*
* If your site must access the Internet via a web proxy then you can enter
* the proxy settings here. Currently only basic authentication is supported
* by using the username and password variables. The proxy_user_agent variable
* can be set to NULL for proxies that require no User-Agent header or to a
* non-empty string for proxies that limit requests to a specific agent. The
* proxy_exceptions variable is an array of host names to be accessed directly,
* not via proxy.
*/
$conf['proxy_server'] = 'web-proxy';
$conf['proxy_port'] = 3128;
# $conf['proxy_username'] = '';
# $conf['proxy_password'] = '';
# $conf['proxy_user_agent'] = '';
# $conf['proxy_exceptions'] = array('127.0.0.1', 'localhost');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment