Commits

Ian Lewis  committed 1a7dab0

Fixed incorrect docs for nginx

  • Participants
  • Parent commits bcb3aad

Comments (0)

Files changed (2)

File docs/en/source/install.rst

             
             # We need to set this header for HTTP requests as well
             # so that we won't fall victim to man-in-the-middle attacks.
-            proxy_set_header HTTP_X_FORWARDED_PROTOCOL      "http";
+            proxy_set_header X_FORWARDED_PROTOCOL      "http";
             # ...
         }
     }
             proxy_pass          http://myproxy;    
             # This should be set to the same headeras the
             # non-ssl setup above.
-            proxy_set_header    HTTP_X_FORWARDED_PROTOCOL   https; 
+            proxy_set_header    X_FORWARDED_PROTOCOL   https; 
             # ...
         }
     }

File docs/ja/source/install.rst

             
             # We need to set this header for HTTP requests as well
             # so that we won't fall victim to man-in-the-middle attacks.
-            proxy_set_header HTTP_X_FORWARDED_PROTOCOL      "http";
+            proxy_set_header X_FORWARDED_PROTOCOL      "http";
             # ...
         }
     }
             proxy_pass          http://myproxy;    
             # This should be set to the same headeras the
             # non-ssl setup above.
-            proxy_set_header    HTTP_X_FORWARDED_PROTOCOL   https; 
+            proxy_set_header    X_FORWARDED_PROTOCOL   https; 
             # ...
         }
     }