Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:useoutgoingproxy [2019/10/08 14:51]
maxbes [Nginx]
documentation:latest:useoutgoingproxy [2019/10/08 15:00] (current)
maxbes [Apache]
Line 11: Line 11:
 FcgidInitialEnv http_proxy http://​X.X.X.X:​X FcgidInitialEnv http_proxy http://​X.X.X.X:​X
 FcgidInitialEnv https_proxy http://​X.X.X.X:​X FcgidInitialEnv https_proxy http://​X.X.X.X:​X
 +# on Centos7, you need LWP::​Protocol::​connect
 +# FcgidInitialEnv https_proxy connect://​X.X.X.X:​X
 </​file>​ </​file>​
  
 ===== Nginx/​FastCGI ===== ===== Nginx/​FastCGI =====
  
-add in @/​etc/​default/​lemonldap-ng-fastcgi-server:+add in ''​/​etc/​default/​lemonldap-ng-fastcgi-server'' ​:
  
-<pre+<code
-http_proxy=http://​my.proxy:port/ +http_proxy=http://​X.X.X.X:X 
-https_proxy=http://​my.proxy:port/+https_proxy=http://​X.X.X.X:X
 # on Centos7, you need LWP::​Protocol::​connect # on Centos7, you need LWP::​Protocol::​connect
-# https_proxy=connect://​my.proxy:port/ +# https_proxy=connect://​X.X.X.X:X 
-</pre>+</code>