Welcome! Log In Create A New Profile

Advanced

Re: "access_log" directive is not allowed here in... how to do this properly?

Francis Daly
March 25, 2012 07:22PM
On Sun, Mar 25, 2012 at 11:15:43PM +0000, Micheal Wolfskill wrote:

Hi there,

> I did, iam still getting the error.
> [emerg]: "access_log" directive is not allowed here in /etc/nginx/nginx.conf:55

Don't write:

> if ($log) { access_log /root/$log.log; slim; }

Do write:

access_log /root/$log.log;

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

"access_log" directive is not allowed here in... how to do this properly?

Micheal Wolfskill March 25, 2012 03:22PM

Re: "access_log" directive is not allowed here in... how to do this properly?

Francis Daly March 25, 2012 06:34PM

RE: "access_log" directive is not allowed here in... how to do this properly?

Micheal Wolfskill March 25, 2012 06:44PM

Re: "access_log" directive is not allowed here in... how to do this properly?

Francis Daly March 25, 2012 07:10PM

RE: "access_log" directive is not allowed here in... how to do this properly?

Micheal Wolfskill March 25, 2012 07:16PM

Re: "access_log" directive is not allowed here in... how to do this properly?

Francis Daly March 25, 2012 07:22PM

RE: "access_log" directive is not allowed here in... how to do this properly?

Micheal Wolfskill March 25, 2012 07:42PM

Re: "access_log" directive is not allowed here in... how to do this properly?

Francis Daly March 25, 2012 08:06PM

Re: "access_log" directive is not allowed here in... how to do this properly?

Alexander Kolesen March 25, 2012 07:30PM

RE: "access_log" directive is not allowed here in... how to do this properly?

Micheal Wolfskill March 25, 2012 08:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready