I'm using nginx as a reverse proxy for multiple environments hosted on the same IIS server. I'd like to use the same caching settings for all environments except development, which nothing should be cached. Is it possible to tell nginx to never cache anything if the url contains the pattern "project_dev" anywhere in the address?by fj40 - How to...
Solved...I don't know how I missed this in the documentation :-)by fj40 - How to...
I'm running nginx as a reverse proxy. From time to time, I notice annoying DoS style attacks coming from specific IP addresses - probably nessus or something similar checking out my server. Is there an easy way to block the offensive IPs in nginx.conf?by fj40 - How to...
I have a reverse proxy pointing to IIS on the backend. The backend web application generates reports in RTF format that the user then displays on their workstation using MS Word or similar application. From the end user's perspective, everything works fine. However, on the proxy, the access.log is reporting a lot of 405 errors when the report generation is completed: 10.130.21.118 - - [2by fj40 - How to...
Thanks - I appreciate your advice. I've done more research and found that the error never occurs with a direct connection. It seems the application is expecting something that isn't being passed along via the proxy. The backend IIS reports that an "object reference is not set to an instance of an object." I'm not sure how to solve this, but retrying the connection probably isn't theby fj40 - How to...
From access.log: 10.1.21.114 - - [21/Oct/2014:14:01:55 -0700] "GET /xxxxx_prod/u2/cfs056.ashx?clearScreenInputs=UserID=QCFJB|GoFlag1=Y|GoFlag2=Y|GoFlag3=Y|GoFlag4=Y|GoFlag5=Y|Parm0=Y|Parm1=Y HTTP/1.1" 302 168 "https://xxxxx2.nv.gov/xxxxx_prod/u2/landing.aspx" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)" 10.1.21.114 - - [21/Oct/2014:14:by fj40 - How to...
I have a reverse proxy setup pointing to a single IIS server. On occasion, the backend IIS server throws a 500 that is easily resolvable by a browser refresh. Our developers are having trouble figuring out the actual cause of the 500, so I'd like to come up with a work-around. I've read some posts about load balancing where it sounds like this should be possible, however my scenario has onlby fj40 - How to...
Hello - I have a need to set up a reverse proxy that will rewrite the user-agent so that all IE versions will be detected by the target website as MSIE 8.0. The reason: The target application should work fine in all semi-modern IE browsers, but there's a hard-coded browser version check that prevents access to all IE above version 8. The code of the application itself can't be changed, soby fj40 - How to...