8 reputation
3
bio website janthurau.de
location Neu Wulmstorf, Germany
age 18
visits member for 1 year, 10 months
seen Nov 6 '12 at 15:32

Oct
24
awarded  Scholar
Oct
24
accepted nginx rewriting location of permanent rewrites
Oct
24
answered nginx location rewrite but proxy_rewrite off
Oct
24
comment nginx rewriting location of permanent rewrites
Okay, I finally solved the problem. I use POUND in front of my backend systems as a ssl-proxy. And pound is obviously automatically rewriting every location headers it receives by default. I disabled it (RewriteLocation 0) and now it works. Thank you all for you help! I can't self-answer my question now so I'm adding the solution as a comment.
Oct
24
comment nginx rewriting location of permanent rewrites
Thank you for your answer. I tried it out, but I am still stuck in a redirection loop.. Not even an entry in the error.log (debug-mode).. My client just receives "Location: test.prod-web.hrm"; (same host as my vhost), but nginx config says return 301 google.de
Oct
24
comment nginx rewriting location of permanent rewrites
oh okay, thanks. I tried out a new vhost (see last code block) .. Not even this works.. I tried both the latest stable and development release of nginx..
Oct
24
revised nginx rewriting location of permanent rewrites
added 208 characters in body
Oct
24
comment nginx rewriting location of permanent rewrites
I am assigning $root because I normally include a file called default.conf so I do not have to set some parameters again.. I tried it on different clients with different browsers, always the same problem :/
Oct
24
awarded  Editor
Oct
24
revised nginx rewriting location of permanent rewrites
Added full configuration
Oct
24
awarded  Student
Oct
24
asked nginx rewriting location of permanent rewrites