Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.

learn more… | top users | synonyms

0
votes
1answer
289 views

nginx uwsgi internal server error 500 - http uwsgi header: “Connection: close”

I am using a small server with nginx and a python flask app on aws, and uwsgi. It has already happened twice that the server went down with error 500, and no logs on behalf of nginx. I am not expert, ...
-1
votes
1answer
49 views

How to run aws file on localhost

I'm new to Ubuntu and I installed python-flask and apache2 on my machine. I wish to run a python project that is presented in aws server. When I run the code it sucessfully runs on port 0.0.0.0:5000 ...
1
vote
0answers
98 views

Port Forward Flask Server in local network

I have a Flask app from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Hello, world!' if __name__ == '__main__': app.run(host='0.0.0.0', port=7777, ...
0
votes
0answers
9 views

How to host multiple websites using subdomain on a single machine?

I have a ubuntu server with an public ip to host a flask website. I also have the public web url www.mywebsite.com point to this ip address. Now, I want to and a second website at this server with ...
0
votes
0answers
77 views

nginx configuration to serve index.html on root and allow flask API at server side only

I've been trying since a few days to properly configure nginx and flask, with poor success could you please debrief? First time I deploy my first flask app on EC2 My goal: expose the APIs to the end ...