Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper protection of back-end #1

Open
jwmelto opened this issue Mar 23, 2023 · 3 comments
Open

Proper protection of back-end #1

jwmelto opened this issue Mar 23, 2023 · 3 comments

Comments

@jwmelto
Copy link

jwmelto commented Mar 23, 2023

Hi. I think this project is the foundation of the FastAPI integration tutorial, which I just completed. The problem with it is that it assumes the Panel server is visible by the web clients. That is, the document that FastAPI (or uvicorn) serves to the browser has URLs that point back to Panel (http://127.0.0.1:5000/app)

I need my FastAPI application to proxy Panel content, not simply re-direct to another address. The fundamental use case is a server running behind a firewall.

Is there a different way to serve the Panel content that doesn't require the browser hitting the Panel server process directly?

@dude0001
Copy link

@jwmelto have you found a solution?

@jwmelto
Copy link
Author

jwmelto commented Apr 18, 2023

@jwmelto have you found a solution?

No

@samiit
Copy link

samiit commented Jul 10, 2023

Hi,

Thanks for raising this issue @jwmelto
I am not able to make this work anywhere outside the local machine. Any ideas how this may happen @t-houssian

Thanks,
Sam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants