nginx

267 views
Skip to first unread message

m.kashi...@gmail.com

unread,
Jan 22, 2016, 3:35:45 AM1/22/16
to taigaio
~$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] open() "/home/taiga/logs/nginx.access.log" failed (2: No such file or directory)
nginx: configuration file /etc/nginx/nginx.conf test failed

Alejandro Alonso

unread,
Jan 22, 2016, 3:55:12 AM1/22/16
to Kashi Khan, taigaio
So it seems your nginx.conf isn't valid ;)

Could it be a permission problem?

Regards,

--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/28804236-a796-435d-b8f4-84d92d5321af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

  
Alejandro Alonso Fernández  
CIO & Co-founder

www.kaleidos.net/FC8EAC/

Alejandro Alonso

unread,
Jan 22, 2016, 4:24:03 AM1/22/16
to Kashi Khan, tai...@googlegroups.com
And the folder /home/taiga/logs?

2016-01-22 10:21 GMT+01:00 Kashi Khan <m.kashi...@gmail.com>:
its no permission problem /home/taiga/logs/nginx.access.log its not exits

Alejandro Alonso

unread,
Jan 22, 2016, 4:43:47 AM1/22/16
to Kashi Khan, tai...@googlegroups.com
Could you please try creating it?

Regards,

2016-01-22 10:41 GMT+01:00 Kashi Khan <m.kashi...@gmail.com>:
yes the folder doesn't exits

Alejandro Alonso

unread,
Jan 22, 2016, 4:54:08 AM1/22/16
to Kashi Khan, tai...@googlegroups.com
Great! ;)


2016-01-22 10:49 GMT+01:00 Kashi Khan <m.kashi...@gmail.com>:
thank you sir after creating this sudo nginx -t show me success :)

Alejandro Alonso

unread,
Jan 22, 2016, 7:53:04 AM1/22/16
to Kashi Khan, tai...@googlegroups.com
Hello Kashi,

If you followed http://taigaio.github.io/taiga-doc/dist/setup-production.html you can see all that documentation assumes the instance will be served by the domain example.com, if everything is just as the doc says you could overwrite your hosts file (in linux it's /etc/hosts) and force the name resolution for example.com to your machine.

You could access using the machine IP but probably you should update some settings in your local.py and conf.json files.

Regards!,

2016-01-22 11:42 GMT+01:00 Kashi Khan <m.kashi...@gmail.com>:
after doing http://taigaio.github.io/taiga-doc/dist/setup-production.html all how i access from my local pc taiga and whats next steps are followed
Reply all
Reply to author
Forward
0 new messages