nginx error in Digital Ocean

26 views
Skip to first unread message

Coqui

unread,
Dec 12, 2017, 12:37:26 PM12/12/17
to Django users
I am trying to deploy to digital ocean but when I run 

sudo nginx -t

I get : nginx: [emerg] open() "... /logs/nginx-access.log" failed (2: No such file or directory)

Etienne Robillard

unread,
Dec 12, 2017, 1:43:51 PM12/12/17
to Coqui, django...@googlegroups.com

Hi,

Have you tried to compile nginx from source and specify the log directory with --http-log-path=/var/log/nginx/access.log ?

Etienne

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/48496a0d-60c8-41f1-8721-4b379bf47d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Etienne Robillard
tka...@yandex.com
https://www.isotopesoftware.ca/

Alexander Joseph

unread,
Dec 14, 2017, 11:33:40 PM12/14/17
to Django users
Reply all
Reply to author
Forward
0 new messages