<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
<br>
<div class="moz-cite-prefix">On 09/06/15 23:46, Prameswar Lal wrote:<br>
</div>
<blockquote
cite="mid:CACOuzKrg+BFRVuZo_s81OQ-vxRg+jbEfhhdWkODG3W-zebRsLQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>yes , i had default file in
/etc/nginx/sites-available/. <br>
</div>
that i have remove so , now i getting "unable to connect
" .<br>
<br>
</div>
curl -I <a moz-do-not-send="true"
href="http://example.com/index.php">http://example.com/index.php</a><br>
curl: (7) Failed to connect to <a moz-do-not-send="true"
href="http://example.com">example.com</a> port 80:
Connection refused<br>
<br>
</div>
in my example.com.conf file there is one line " access_log
/var/log/nginx/nginx-access.log; " but i am not getting log
here with name nginx-access.log . <br>
<br>
i am attaching my error.log file. and access.log is empty here
.<br>
<br>
</div>
<div>please see in my error.log. <br>
</div>
<div>
<div>
<div><br>
<div><br>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 9, 2015 at 1:14 PM, Francis
Daly <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Tue, Jun 09, 2015 at 07:30:13AM +0530,
Prameswar Lal wrote:<br>
<br>
Hi there,<br>
<br>
</span><span class="">> i am sending current access log
after changing according to steve block .<br>
<br>
</span>The config you showed does not write to access.log.<br>
<br>
If the request you make does write to access.log, then the
request you<br>
make is not being handled by the config that you showed.<br>
<br>
Can you start with a small complete config that clearly
shows the problem<br>
you are reporting?<br>
<span class="im HOEnZb"><br>
f<br>
--<br>
Francis Daly <a moz-do-not-send="true"
href="mailto:francis@daoine.org">francis@daoine.org</a><br>
<br>
</span>
<div class="HOEnZb">
<div class="h5">_______________________________________________<br>
nginx mailing list<br>
<a moz-do-not-send="true" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a moz-do-not-send="true"
href="http://mailman.nginx.org/mailman/listinfo/nginx"
target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
</blockquote>
<br>
Look in your nginx.conf.<br>
<br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=windows-1252">
<pre class="western"> include /etc/nginx/conf.d/*.conf;</pre>
<br>
*THIS* is where your config file should reside.<br>
<title></title>
<meta name="GENERATOR" content="LibreOffice 4.0.4.2 (Linux)">
<style type="text/css">
<!--
@page { margin: 2cm }
PRE.cjk { font-family: "AR PL UMing HK", monospace }
PRE.ctl { font-family: "Lohit Devanagari", monospace }
P { margin-bottom: 0.21cm }
-->
</style><br>
<pre class="moz-signature" cols="72">--
Steve Holdoway BSc(Hons) MIITP
<a class="moz-txt-link-freetext" href="http://www.greengecko.co.nz">http://www.greengecko.co.nz</a>
Linkedin: <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/steveholdoway">http://www.linkedin.com/in/steveholdoway</a>
Skype: sholdowa</pre>
</body>
</html>