Changes between Version 3 and Version 4 of DjangoAndNginx
- Timestamp:
- Aug 3, 2011, 9:41:56 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoAndNginx
v3 v4 52 52 First, create a user for nginx to run as, and then remove a password from it so no one can log in as the user: 53 53 {{{ 54 useradd apache55 passwd -d apache54 useradd nginx 55 passwd -d nginx 56 56 }}} 57 57 … … 70 70 Now we need to put some new stuff into the default nginx configuration, here is the template I used: 71 71 {{{ 72 user apache apache;72 user nginx nginx; 73 73 74 74 worker_processes 2;