Hey Samuel,

You'll need to completely replace anything between <%= .. => signs.
For example, I have my 3akai-ux repository at /opt/sakai/oae/repos/3akai-ux so 
the line
    alias <%= nginxConf.UX_HOME %>/admin/;
would become:
    alias /opt/sakai/oae/repos/3akai-ux/admin/;

You can find my full config at [1], it might contain some dev stuff but it 
should give you an idea of how an nginx config looks like.

Hope that helps,

Simon

[1] http://pastebin.com/hm5iFkgS

On 14 May 2013, at 12:19, Samuel Gutiérrez Jiménez-Peña 
<samuelgutierrezjime...@gmail.com> wrote:

> Hi Simon,
> 
> The error still persists when change, NGINX_USER: www and NGINX_GROUP: www, I 
> keep getting: nginx: [emerg] invalid number of arguments in "user" directive 
> in / usr / local / nginx / conf / nginx.conf: 1
> 
> I've also tried to delete the line corresponding to user and get the 
> following error: nginx: [emerg] unknown directive "admin.oae.com" in / usr / 
> local / nginx / conf / nginx.conf: 32
> 
> I don't know really where the error may be, I would be very useful if you 
> could send me a sample of how it would set, the nginx.conf
> 
> I send you, my file nginxconf as what I've configured: 
> <nginx.conf>
> 
> Thanks in advance.
> 
> Regards, Samuel.
> 
> El 14/05/2013, a las 09:12, Simon Gaeremynck <gaeremyn...@gmail.com> escribió:
> 
>> Hey Samuel,
>> 
>> Those should be the user and group you're running nginx under.
>> Typically this might be 'www' and 'www'. I think however that it's possible 
>> to remove this line and nginx will take the appropriate user/group.
>> 
>> Regards,
>> 
>> Simon
>> 
>> On 13 May 2013, at 21:17, Samuel Gutiérrez Jiménez-Peña 
>> <samuelgutierrezjime...@gmail.com> wrote:
>> 
>>> Hi all,
>>> 
>>> I have a doubt regarding the manual to install the new version of Sakai OAE 
>>> Hilary.
>>> 
>>> I've followed all the steps of: 
>>> https://github.com/sakaiproject/Hilary/blob/master/README.md
>>> 
>>> But to configure the nginx.cnf, I've encountered a problem. By putting the 
>>> command: sudo /usr/local/nginx/sbin/nginx -s reload
>>> 
>>> I jump with the following error:  nginx: [emerg] invalid number of 
>>> arguments in "user" directive in /usr/local/nginx/conf/nginx.conf:1
>>> 
>>> My question is about the parameters <% = NGINX_USER%> and <% = 
>>> NGINX_GROUP%>, which I don't know which substitute values​​.
>>> 
>>> user                    <%= nginxConf.NGINX_USER %> <%= 
>>> nginxConf.NGINX_GROUP %>;
>>> 
>>> I hope your answers.
>>> 
>>> Regards, Samuel.
>>> _______________________________________________
>>> oae-dev mailing list
>>> oae-dev@collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev
>> 
> 

_______________________________________________
oae-dev mailing list
oae-dev@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/oae-dev

Reply via email to