One server running Django (with Nginx and Apache) and Wordpress Blog
- by JCWong
I have nginx listening to port 80 for my primary site foo.com. It proxys to port 8080 which is where the Django app lives
server {
listen 80;
server_name www.foo.com foo.com;
access_log /home/jeffrey/www/ddt/logs/nginx_access.log;
error_log /home/jeffrey/www/ddt/logs/nginx_error.log;
location / {
proxy_pass http://127.0.0.1:8080;
…