Changes between Version 3 and Version 4 of DjangoAndNginx


Ignore:
Timestamp:
08/03/2011 09:41:56 AM (4 years ago)
Author:
premiso@…
Comment:

Changed the username from apache to nginx, not sure why you would choose to use apache for the username other than to confuse people?

Legend:

Unmodified
Added
Removed
Modified
  • DjangoAndNginx

    v3 v4  
    5252First, create a user for nginx to run as, and then remove a password from it so no one can log in as the user:
    5353{{{
    54 useradd apache
    55 passwd -d apache
     54useradd nginx
     55passwd -d nginx
    5656}}}
    5757
     
    7070Now we need to put some new stuff into the default nginx configuration, here is the template I used:
    7171{{{
    72 user  apache apache;
     72user  nginx nginx;
    7373
    7474worker_processes  2;
Back to Top