M
M
Malmind2021-07-20 21:07:10
Flask
Malmind, 2021-07-20 21:07:10

How to run Flask on a server?

Hello, I'm having trouble producing Flask on a server. As far as I understand the topic, it needs a server, most often it is apache or nginx and usually linux, I saw a solution for windows, you also need to configure wsgi, which will explain the python to the server. Are there any good solutions for windows server, which is better to use to work through https and a domain? Is there any instruction for deploying all this on a remote machine? The application also uses MySQL, which I think should be taken into account when choosing a web server for Flask.
Tried this guide for windows: https://thilinamad.medium.com/flask-app-deployment.... There were problems with it, since apache writes it work, but in fact the project itself is not visible and this is only on port 443, and this is http, https, as I understand it, it works on 80 ports, when forbiden wrote them ... (problems with file access). I apologize in advance for the extra water, I just don't know how to describe it more accurately.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-07-20
@karabanov

https://www.digitalocean.com/community/tutorials/h...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question