0
votes
0answers
2 views

Cannot connect to webserver from outside LAN [migrated]

I am running the Django development server on a computer at home on 0.0.0.0:80. I am also running an SSH service on port 22. I have configured my router (Virgin Media Superhub 2 with external IP ...
0
votes
1answer
43 views

Need Server requirement estimates for my application [duplicate]

I am a newbie to Web Development and am trying to estimate the server requirements based on my application configuration. My application will have to perform simple database look-up based on unique ...
1
vote
1answer
190 views

Is it possible to deploy elasticsearch in Webfaction?

I'd like to deploy elasticsearch (ES) at Webfaction server. I have 256MB of memory and running a Django app that takes about 100MB. I need to index about 10,000 records. Is it possible to run ES in a ...
1
vote
1answer
470 views

Arch Linux with an nginx/django setup refuses to display ANYTHING

I'm on Amazon Ec2, with an Arch Linux server. While I truly am loving it, I'm having the issue of actually getting nginx to display anything. Everytime I try to throw my hostname into the browser, the ...
0
votes
1answer
391 views

Does uwsgi workers share a common memory ? [ With Nginx ]

I have configured my Nginx with Django uwsgi. When the django server starts, it reads a 5MB file from the hard-disk. Now, Without Nginx with Django default server python manage.py runserver => Runs ...
-1
votes
2answers
198 views

How many VMs is too many? [closed]

I have a server with two 2.6GHz quad core processors and 32GB of RAM (along with pleanty of storage). I have a Django app which I intend to run on this server, and I'd like to set up (using VMWare) 2 ...
1
vote
0answers
75 views

Server returning response for previous requests

It's a really strange problem. I believe it to be a server issue, but it's so strange and hard to reproduce that I'm not entirely sure. Just as the title says I'm receiving responses for earlier ...
3
votes
3answers
296 views

Django: Nginx with WSGI or Apache with WSGI

Are there any studies comparing the performance (RPS, CPU, Memory usage etc) of delivering python web apps (Django in my case) between nginx and Apache? Can someone help me with facts? Which ...
0
votes
1answer
191 views

Is this good results for my django webserver? [closed]

I bought a new server to migrate my site because the former are experiencing delays from time to time. I'm doing some tests with AB to check how good is this new server, and would like hear from you! ...
0
votes
1answer
588 views

gunicorn serving django app produces no log on exceptions

I am trying to serve a Django app using gunicorn. In my current setup running on Debian 6 (production) and Ubuntu 11.04 (development), gunicorn (v0.12) is behind nginx and managed by supervisor. The ...
0
votes
1answer
378 views

AWS EC2 EBS Microinstance Storage and Djangostack

I'm moving my person webpage to an Amazon EC2 free (for now) micro instance, and want to clarify some things. Since the micro instance does not have any "local storage", when i am installing apache, ...
0
votes
4answers
478 views

502 error after adding module to a Django project running on nginx and gunicorn

I am trying to add a module to an existing Django project, but once I have done it I get a 502 error. The server is running Ubuntu. I don't think it has to do with the applications code because I got ...
0
votes
2answers
172 views

How do you separate a wsgi django/python app server from the web server?

I've built a django / python application, running on apache with wsgi, and hosted on a single amazon AWS EC2 instance. It a custom client application, so low traffic, but one part of my application ...
0
votes
1answer
947 views

How can I track down a memory leak with wsgi, django, php and apache2?

I'm running 3 separate virtualhosts for my website (Django w/ wsgi for the main site, another Django w/ wsgi for the mobile version of the site, and a 3rd for Wordpress serving as the site's blog). ...
2
votes
5answers
578 views

Lightweight web server for Django with small workloads

I'm writing a small app in Django that will be used as admin interface for a set of applications usually configured by text files. It won't do much (parse user input, convert db entries into flat ...
13
votes
1answer
2k views

Why is setting Nginx as a reverse proxy a good idea?

I have a Django site running on Gunicorn with a reverse proxy through Nginx. Isn't Nginx just an extra unnecessary overhead? How does adding that on top of Gunicorn help?
1
vote
2answers
158 views

Serving static web files off a non-standard port

I'm close to deploying a Django project to production. I'm looking over some infrastructure decisions. Something that came up was serving static files with a different server such as lighttpd. ...
1
vote
4answers
455 views

How come my Apache can't read my media folder, but it can load the site? (static files don't work)

Alias /media/ /home/matt/repos/hello/media <Directory /home/matt/repos/hello/media> Options -Indexes Order deny,allow Allow from all </Directory> WSGIScriptAlias / ...
1
vote
5answers
305 views

Please critique my website file layout

I am configuring a linux webserver to support several different websites, using Django and Apache2. I have Django code for each site, some libraries supporting each of those sites, and the Apache ...
0
votes
4answers
593 views

Media server and Web server — same IP address, how do I set this up?

Hi I'm trying to build a website where users can upload images. I am wanting to have a seperate media server to host the images, so that the web application can point to the images like ...
3
votes
3answers
743 views

What's the optimal way to set up a Django server to serve multiple sites?

I currently use Apache 2.0 and FastCGI to serve my Django sites (I host multiple sites from a single server / IP). Each site has it's own FastCGI process which stops Apache forking multiple copies ...