1
vote
1answer
67 views

Nginx and Django use www-prefixed domain

Trying to understand how to force www. in my domain and redirect anything like ww.example.com or test.example.com -> www.example.com Everything works fine when I go to www.example.com or example.com, ...
0
votes
2answers
95 views

Nginx + Apache mod_wsgi, troubles understanding how to configure servers

I've been trying for too long to set up a development environment on my Ubuntu 12.04. My intention is to set up everything as I'd have to do later in a production environment, so I followed this ...
0
votes
0answers
102 views

Server configuration in production for Django applications

I want to deploy my Django project to production as follows: example.com # redirect to www www.example.com # for dynamic files static.example.com # for static files media.example.com ...
1
vote
1answer
161 views

nginx is no longer working on ec2 instance

i admittedly ran this: sudo update-rc.d nginx defaults which seemed to wipe out the setup of nginx. Nginx commands like sudo service nginx start, etc no longer return anything when executed. ...
0
votes
2answers
1k views

Nginx + Gunicorn + Django - nginx not allowing static files

Updated Code - this is still not working though. Settings.py STATIC_ROOT = '/home/ubuntu/virtualenv/mysite/homelaunch/static/' STATIC_URL = '/static/' nginx conf :: /etc/nginx/sites-enabled/mysite ...
0
votes
1answer
217 views

nginx django suburl doesn't work

I'm trying to setup django under some suburl, lets say /myproject, with nginx and uwsgi. However, I can't get it working. Whatever I try, seems that uwsgi_modifier1 30; option doesn't work. I always ...
0
votes
1answer
120 views

Nginx index not at project root

I have an index.html page that's stored alongside with the rest of my client-side resources (/opt/django/media/index.html). I can get nginx to serve the page as the index for requests to just the ...
2
votes
3answers
2k views

Beginner installing first app on EC2 bitnami stack

Beginner question here. Its probably obvious to someone who does this stuff all the time. But I'm having difficulty setting up django running on an EC2 bitnami instance. I setup my server and I'm ...
3
votes
1answer
206 views

Document and best practices for configuration of a dedicated server (Centos) to serve just one website

I have just bought a dedicated server and they provide me a IP address, access info as root and machive with Centos 5. I would like to serve my django app in that machine but because I have no ...
0
votes
1answer
613 views

Protect all XML-RPC calls with HTTP basic auth but one

I set up a Django project for smartphone serving XML-RPC methods over HTTPS and using basic auth. All XML-RPC methods require username and password. I would like to implement a XML-RPC method to ...
1
vote
1answer
228 views

Apache/Django subdomains problem

Now I have apache configuration which works only with localhost domain (http://localhost/). Alias /media/ "/ścieżka/do/instalacji/django/contrib/admin/media/" Alias /site_media/ ...
4
votes
1answer
516 views

Django VPS Configuration

I'm looking to run some Django sites on my VPS, with nginx acting as a front-end for it. I've been having some issues with mod_python and Apache, the site just starts erroring out whenever the traffic ...