Hi,
On 09/06/15 23:46, Prameswar Lal wrote:
yes , i had default file in /etc/nginx/sites-available/.
that i have remove so , now i getting "unable to connect " .
curl -I http://example.com/index.php
curl: (7) Failed to connect to example.com <http://example.com> port
80: Connection refused
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 .
i am attaching my error.log file. and access.log is empty here .
please see in my error.log.
On Tue, Jun 9, 2015 at 1:14 PM, Francis Daly <[email protected]
<mailto:[email protected]>> wrote:
On Tue, Jun 09, 2015 at 07:30:13AM +0530, Prameswar Lal wrote:
Hi there,
> i am sending current access log after changing according to steve block .
The config you showed does not write to access.log.
If the request you make does write to access.log, then the request you
make is not being handled by the config that you showed.
Can you start with a small complete config that clearly shows the
problem
you are reporting?
f
--
Francis Daly [email protected] <mailto:[email protected]>
_______________________________________________
nginx mailing list
[email protected] <mailto:[email protected]>
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
Look in your nginx.conf.
include /etc/nginx/conf.d/*.conf;
*THIS* is where your config file should reside.
--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx