Browse Source

Remove unneeded warning

Michael Kaye 3 years ago
parent
commit
288d1a6aea
1 changed files with 3 additions and 3 deletions
  1. 3 3
      synapse/http/site.py

+ 3 - 3
synapse/http/site.py

@@ -375,9 +375,9 @@ class XForwardedForRequest(SynapseRequest):
         else:
             # this is done largely for backwards-compatibility so that people that
             # haven't set an x-forwarded-proto header don't get a redirect loop.
-            logger.warning(
-                "forwarded request lacks an x-forwarded-proto header: assuming https"
-            )
+            #logger.warning(
+            #    "forwarded request lacks an x-forwarded-proto header: assuming https"
+            #)
             self._forwarded_https = True
 
     def isSecure(self):