Changes between Version 3 and Version 4 of DjangoAndNginx


Ignore:
Timestamp:
Aug 3, 2011, 9:41:56 AM (13 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