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

learn more… | top users | synonyms

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
1answer
284 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, ...
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 ...
-1
votes
1answer
48 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
97 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
1answer
2k views

Nginx: unknown directive “uwsgi_param” in /etc/nginx/uwsgi_params:1

Using this deployment tutorial, I'm trying to get an Ubuntu 12.04 server up and running with Flask, uWSGI and Nginx. I now have trouble getting Nginx to run. When I try to (re)start nginx it simply ...
2
votes
1answer
575 views

install Flask as a virtual environment whith virtualenv.py in 12.10

I am trying to follow this Tutorial to learn flask. I have never used python before and a relatively new to linux too so sorry if I am asking a very basic question. I have installed python version ...
2
votes
1answer
3k views

Installation issues for Virtualenv and VirtualenvWrapper in 13.04

Ubuntu Server in VirtualBox. I am trying to install VirtualEnv to start learning Flask and bottle. Some details of my setup. vks@UbSrVb:~$ cat /etc/os-release NAME="Ubuntu" VERSION="12.04.2 LTS, ...