problem : nginx with magento

steve steve at greengecko.co.nz
Tue Jun 9 21:24:50 UTC 2015


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 <francis at daoine.org 
> <mailto:francis at daoine.org>> 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 francis at daoine.org <mailto:francis at daoine.org>
>
>     _______________________________________________
>     nginx mailing list
>     nginx at nginx.org <mailto:nginx at nginx.org>
>     http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150610/4aff8d98/attachment.html>


More information about the nginx mailing list