Ngnix Deployment and Mixed Content Errors #156
-
Hi All, I am using FastAPI + Uvicorn + SQLModel and deployment behind Nginx. Since my Nginx is configured so that This resources of course can be reached when using Assuming I don't want to allow Thanks a lot! 🙏🏼 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @odedgolden, |
Beta Was this translation helpful? Give feedback.
-
Hey, I just saw this thread. If that's not an option, you didn't really explain how you're deploying your project, but you could also use HTTPS with Uvicorn: https://www.uvicorn.org/deployment/#running-with-https I'm not sure why you would need a change in the Admin side as it should be a few steps before that to handle this. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I also encountered this problem. I am using:
This StackOverflow solved my problem: https://stackoverflow.com/a/70485650/4189676 I simply added |
Beta Was this translation helpful? Give feedback.
Hi everyone,
I also encountered this problem. I am using:
This StackOverflow solved my problem: https://stackoverflow.com/a/70485650/4189676
I simply added
--forwarded-allow-ips='*'
to my Gunicorn command. I made no additional changes to my NGINX configuration.