configuration assistance with http redirect to a file share
sdb1031
nginx-forum at nginx.us
Thu Apr 14 23:42:47 MSD 2011
Hi,
I have an application that makes download requests to the microsoft
website for patches from time via http. What i'd like to accomplish is
for the application's requests for patches to be redirected to a file
share that resides on our internal network that contains all of the
patches instead of microsoft's website.
For example, if my application determines that it needs to download the
following patch: WindowsServer2003-KB914961-SP2-x86-ENU.exe. Typically,
it would make this request by visiting the follow microsoft url to
download the patch:
http://www.microsoft.com/downloads/info.aspx?na=41&SrcFamilyId=95AC1610-C232-4644-B828-C55EEC605D55&SrcDisplayLang=en&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f5%2ff%2f1%2f5f104409-2736-48ef-82e1-692ec3da020b%2fWindowsServer2003-KB914961-SP2-x86-ENU.exe
.
Instead, i'd like to configure my application to forward its request to
the nginx proxy nad have nginx to this request and allow the application
to seemlessly obtain the patch from a file share such as:
\\remotestorageserver\microsoft\patches\WindowsServer2003-KB914961-SP2-x86-ENU.exe,
while allowing all other http requests not meeting the criteria
forwarded during normal http.
I've looked around at the example config files and read docs for nginx
but I'm not having any success. I would appreciate a sample one that
performs a similar task if that exists to get me on the right track.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,191375,191375#msg-191375
More information about the nginx
mailing list