Welcome! Log In Create A New Profile

Advanced

Re: "pid" directive is duplicate in /etc/nginx/nginx.conf

Kurt Cancemi
June 03, 2016 03:38PM
Hello,

See here https://bugs.archlinux.org/task/46500 https://bugs.archlinux.org/task/46500.

Kurt Cancemi
https://www.x64architecture https://www.x64architecture/.com

> On Jun 2, 2016, at 04:01, Harkonnen <nginx-forum@forum.nginx.org> wrote:
>
> Hi,
>
> I'm trying to set up a very simple nginx web server on top of an archlinux
> distribution. Here is my nginx.conf :
>
> user http;
> worker_processes 1;
> error_log /var/log/nginx/error.log;
> pid /var/run/nginx.pid;
>
> events {
> worker_connections 1024;
> }
>
> http {
> include mime.types;
> default_type application/octet-stream;
> }
>
> it's a very simple one, no nested includes other than mime.types. But when I
> try to start my server, I have the following error :
>
> "pid" directive is duplicate in /etc/nginx/nginx.conf
>
> And I don't know why, as there are no other "pid" directive. If I comment
> the "pid" line, it's ok.
>
> Can you explain me what am I missing ?
>
> Thanks in advance
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267309,267309#msg-267309
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

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

"pid" directive is duplicate in /etc/nginx/nginx.conf

Harkonnen June 02, 2016 04:01AM

Re: "pid" directive is duplicate in /etc/nginx/nginx.conf

Kurt Cancemi June 03, 2016 03:38PM

Re: "pid" directive is duplicate in /etc/nginx/nginx.conf

Kurt Cancemi June 03, 2016 03:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
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