Mercurial > libervia-web
diff libervia/server/server.py @ 1435:396d5606477f
server (proxy): add "Forwarded" and "X-Forwarded-xxx" headers to reverse proxy
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 14 Jun 2021 15:27:33 +0200 |
parents | ed037818d6de |
children | fc91b78b71db 792a2e902ee9 |
line wrap: on
line diff
--- a/libervia/server/server.py Wed Jun 09 16:50:07 2021 +0200 +++ b/libervia/server/server.py Mon Jun 14 15:27:33 2021 +0200 @@ -1628,7 +1628,7 @@ def getExtBaseURLData(self, request): """Retrieve external base URL Data - this method tried to retrieve the base URL found by external user + this method try to retrieve the base URL found by external user It does by checking in this order: - base_url_ext option from configuration - proxy x-forwarder-host headers