Reverse proxy forwarded_allow_ips and proxy_headers #384
Unanswered
AdnanAvdagic
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Given you run behind a reverse proxy, and Granian doesn't provide those parameters, it should work out of the box, as it should behave like if you allow forwarding from everywhere. The HTTPS sounds like an application issue, not a server one, as you're probably building URLs without intercepting the forwarded protocol which is different from the serving protocol. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, at my company we currently run gunicorn + uvicorn on AWS
We also use sqladmin and have an issue with
"Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure script ''. This request has been blocked; the content must be served over HTTPS."
Using gunicorn and uvicorn we just needed to add
forwarded_allow_ips = ""
proxy_allow_from = ""
and then everything would work since we run behind a reverse proxy.
I see no wayto do this with Granian, how would one solve it now?
Beta Was this translation helpful? Give feedback.
All reactions