Skip to content

How can i iframe a mesop app in a https site #672

Answered by richard-to
JohnHardline asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. I think this depends on your server architecture.

Here's a high level example of what you'd need:

  • Domain/Subdomain - I'm assuming you already have a domain, so you can set up a sub domain in your domain registrar's UI
  • SSL Certificate - Can use LetsEncrypt or whatever you prefer
  • Nginx as a reverse proxy to Mesop run, also configure your SSL certificate on Nginx
  • As in the examples we use Gunicorn as WSGI server to serve the Mesop app. Mesop uses Flask under the hood which comes a with a dev server, but it's not something you'd use with production, which is why we use Gunicorn.

That's the high level example of how you'd run Mesop on a custom server architecture. You can replace Nginx …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@JohnHardline
Comment options

@richard-to
Comment options

@JohnHardline
Comment options

@richard-to
Comment options

Answer selected by JohnHardline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants