All Questions
12
questions
14
votes
4
answers
3k
views
Deploying Django App with Nginx, Apache, mod_wsgi
I have a django app which can run locally using the standard development environment. I want to now move this to EC2 for production. The django documentation suggests running with apache and ...
7
votes
1
answer
40k
views
How to get nginx to pass HTTP_AUTHORIZATION header to Apache
Am using Nginx as a reverse proxy to an Apache server that uses HTTP Auth. For some reason, I can't get the HTTP_AUTHORIZATION header through to Apache, it seems to get filtered out by Nginx. Hence, ...
3
votes
0
answers
689
views
NGINX and OpenStack Horizon?
I recently update our web infrastructure to use NGINX instead of our Apache servers.
Now, I'm also operating an OpenStack Infrastructure and I was wondering if there is a state of the art way to ...
2
votes
2
answers
684
views
my first "production" debian server configuration
I have been using Debian for a year, mostly as the distro for my internal company server. Now I am making a public e-commerce website and I am planning to use a dedicated Debian server at a datacenter ...
2
votes
2
answers
675
views
We have nginx proxying to apache w/mod wsgi and very high server load, how to track down cause?
We have an nginx instance sitting in front of apache 2 (nginx handles static resources, dynamic content requests get proxied to apache) which is primarily using mod_wsgi to server various python/...
2
votes
1
answer
539
views
Django Deploy Reccomendations
I have a Web application provided in SaaS way... (each client has his own sub-domain and his own database).
My app uses Django Python and Postgresql.
Right now is hosted on a linux shared hosting ...
1
vote
2
answers
4k
views
504 gateway timeout on nginx + apache + mod_wsgi
I'm running a django app with mod_wsgi and proxying with nginx. One of my views takes 2+ minutes to complete. When I visit it, I get a 504 gateway timeout. Is there a setting I can change to ...
0
votes
2
answers
2k
views
Enabling SPDY for nginx as reverse proxy to Apache
I am running nginx as a reverse proxy to apache (with mod_wsgi for a django app). nginx also serves static files. If I enable spdy on nginx, do I need to enable spdy on apache too to get maximum ...
0
votes
2
answers
340
views
How to choose a web server for a Python application? [closed]
Information and prerequisites:
I have a project which is, at its core, a basic CRUD application.
It doesn't have long running background processes which it forks at the beginning and talks to later ...
0
votes
1
answer
916
views
Apache w. mod_proxy or Static Media Server in front?
I'm setting up a Django server with Apache + mod___wsgi and nginx as a static media server.
Which server should I put in front of the other? Apache using mod___proxy or nginx? I've heard different ...
0
votes
2
answers
3k
views
Serving static files fails - nginx
I've been looking and trying around all night, but without success.
I configured nginx to serve my static files and proxy all the other traffic:
server {
listen 80;
server_name example.com;
...
0
votes
1
answer
3k
views
mod_wsgi memory leak?
I've got a django app running through mod_wsgi on Apache 2 (Worker) behind an Nginx reverse proxy (also serving static content). When the app starts to get a bunch of hits concurrently, memory usage ...