A proxy HTTP server may be used by defining the address (URL) and port number of the proxy server with the http_proxy environment variable. For example
setenv http_proxy http://heasarc.gsfc.nasa.gov:3128will cause CFITSIO to use port 3128 on the heasarc proxy server whenever reading a FITS file with HTTP.