Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an Nginx server configured as a reverse proxy for Apache. This server serves both HTTP and HTTPS, since some URLs are HTTPS only Nginx returns 403 to those without relaying the request to Apache. The problem is that after some time running(sometimes a day, sometimes a week) Nginx will start returning 403 to one specific URL(that is not HTTPS only) when asked over HTTP, if asked over HTTPS it works. All other URLs work as expected. When this starts happening the request seems to not even be relayed to Apache, since Apache logs show no request for that URL. Restarting Nginx solves the problem. Nginx error logs have no entries.

Does any one have any ideas what I should be looking into?

Configuration: http://pastebin.com/Vc7bhjR6 and piXBuc2T

I replaced domain names with < domain > and < domain2 >.

Log file:

http://pastebin.com/28vAp5jJ

The logs are obviously enormous, this an excerpt that show the problem occurring.

share|improve this question
    
Post the configuration and the log? –  quanta Oct 28 '11 at 4:50
    
Edited question to include configuration and log. –  Gastal Nov 1 '11 at 12:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.