title: How to get Jenkins to use a proxy when updating plugins
body: <p>I am running a setup where Jenkins is running behind ngnix, but jenkins needs to use a bluecoat proxy to update plugins. </p>
  
  <p>I have tried updating the advanced proxy settings page but it is not working and have verified that I can wget <a href="http://mirror.xmission.com/jenkins/updates/current/update-center.json" rel="nofollow">http://mirror.xmission.com/jenkins/updates/current/update-center.json</a> when I have the http_proxy and https_proxy system variables. </p>
  
  <p>I have also tried updating /etc/profile as I see that /etc/init.d/jenkins that they use su jenkins -l when starting Java</p>
  
  <p>Thanks,
  Walt</p>