]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/git_stderr_output_causes_problems.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / git_stderr_output_causes_problems.mdwn
index 4146a5869d22d7256f13a6770b2cbf4c942b6fbe..d8e14db428413980fb704a4c37ef4a57c20f5cfd 100644 (file)
@@ -6,7 +6,7 @@ Ikiwiki's git handling is sending a bunch of output to stderr.  The following pa
     index 425536f..5734bb2 100644
     --- a/IkiWiki/Rcs/git.pm
     +++ b/IkiWiki/Rcs/git.pm
-    @@ -24,6 +24,7 @@ sub _safe_git (&@) { #{{{
+    @@ -24,6 +24,7 @@ sub _safe_git (&@) {
             if (!$pid) {
                     # In child.
                     # Git commands want to be in wc.
@@ -40,3 +40,6 @@ Ikiwiki's git handling is sending a bunch of output to stderr.  The following pa
 
 >> I'm happy with the wrapper script solution, so this is [[done]].
 >> And this report is now here to point others to that solution.
+
+This is also useful when running ikiwiki behind a nginx proxy, because nginx
+considers this stderr as invalid headers and reports a server error. -- [[nil]]