<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">You have been told to use the <span style="font-family:monospace,monospace">info</span> <span style="font-family:monospace,monospace">error_log</span> level, which is not set (defaults to <span style="font-family:monospace,monospace">error</span>).<br></div><div class="gmail_extra"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Make sure no other error_log directive might overwrite this one.</div><div><div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Fri, Mar 4, 2016 at 7:12 PM, Giulio Loffreda <span dir="ltr"><<a href="mailto:giulio@loffreda.com.br" target="_blank">giulio@loffreda.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Still having no luck.<br>
No log is generated.<br>
<br>
TCP connection has any relation to web socket support configuration ?<br>
<br>
this is my site config.<br>
<br>
server {<br>
listen 80;<br>
server_name <a href="http://myhost.com" rel="noreferrer" target="_blank">myhost.com</a>;<br>
access_log /var/log/nginx/myhost.com.log combined;<br>
error_log /var/log/nginx/myhost.com.error.log;<br>
<br>
root /home/spark/<a href="http://myhost.com/web" rel="noreferrer" target="_blank">myhost.com/web</a>;<br>
try_files $uri /index.php;<br>
<br>
set $cache_uri $request_uri;<br>
if ($request_method = POST) {<br>
set $cache_uri 'null cache';<br>
}<br>
location ~ \.php$ {<br>
try_files $uri =404;<br>
fastcgi_split_path_info ^(.+\.php)(/.+)$;<br>
<br>
# With php5-fpm:<br>
fastcgi_pass unix:/var/run/php5-fpm.sock;<br>
fastcgi_index index.php;<br>
include fastcgi_params;<br>
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br>
<br>
# WebSocket support — not working<br>
#proxy_pass <a href="http://127.0.0.1:8765" rel="noreferrer" target="_blank">http://127.0.0.1:8765</a>;<br>
#proxy_redirect off;<br>
#proxy_http_version 1.1;<br>
#proxy_set_header Upgrade $http_upgrade;<br>
#proxy_set_header Connection "upgrade";<br>
#proxy_buffering off;<br>
<br>
#debug requests<br>
#echo_duplicate 1 $echo_client_request_headers;<br>
#echo "\r";<br>
#echo_read_request_body;<br>
#echo $request_body;<br>
<div><div> }<br>
}<br>
<br>
<br>
> Le 4 mars 2016 à 18:56, Valentin V. Bartenev <<a href="mailto:vbart@nginx.com" target="_blank">vbart@nginx.com</a>> a écrit :<br>
><br>
> On Friday 04 March 2016 17:41:42 Giulio Loffreda wrote:<br>
>> Thank you for your answer.<br>
>><br>
>> Here is my log after the request, my request, my response and my nginx.conf<br>
>><br>
>> root@vps190138:~# cat /var/log/nginx-error.log<br>
>> 2016/03/04 15:49:02 [notice] 8990#0: using the "epoll" event method<br>
>> 2016/03/04 15:49:02 [notice] 8990#0: nginx/1.8.1<br>
>> 2016/03/04 15:49:02 [notice] 8990#0: OS: Linux 3.13.0-66-generic<br>
>> 2016/03/04 15:49:02 [notice] 8990#0: getrlimit(RLIMIT_NOFILE): 1024:4096<br>
>> 2016/03/04 15:49:02 [notice] 8991#0: start worker processes<br>
>> 2016/03/04 15:49:02 [notice] 8991#0: start worker process 8993<br>
>><br>
> [..]<br>
><br>
> You have another error_log directive on the "http" level of your configuration,<br>
> and it overrides log settings set on the main config level.<br>
><br>
> wbr, Valentin V. Bartenev<br>
><br>
> _______________________________________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div></blockquote></div><br></div></div>