Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 5 of 5
When I add "tcp_nodelay" to /etc/nginx/nginx.conf and run 'nginx -t' it says
nginx: "tcp_nodelay" directive is duplicate in /etc/nginx/nginx.conf:42
nginx: configuration file /etc/nginx/nginx.conf test failed
but cant find where else it is specified. I have checked all the files in /etc/nginx/conf-enabled/*.conf but its not there.
by
Jedi
-
New Member Introductions
So I been copying over stuff from nginx.conf.2018.07.23.17.42.04 to nginx.conf but when I run "nginx -t" I get stuff like:
nginx: "tcp_nopush" directive is duplicate in /etc/nginx/nginx.conf:41
nginx: configuration file /etc/nginx/nginx.conf test failed
nginx: "tcp_nodelay" directive is duplicate in /etc/nginx/nginx.conf:42
nginx: configuration file /etc/ngi
by
Jedi
-
New Member Introductions
Also it doesn't have
nginx: no port in upstream "php_workers" in /etc/nginx/templates/fastcgi_php.tmpl:13
in the nginx.conf file, I don't know how that got there. I tried to edit the post but wasn't able to.
by
Jedi
-
New Member Introductions
I ended up deleting nginx.conf.2018.07.23.17.42.04. Everything seems ok.
This is what was in it. I wonder if I should transfer some of this stuff over to nginx.conf.
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tc
by
Jedi
-
New Member Introductions
Except I have two nginx.conf files, the second one is called nginx.conf.2018.07.23.17.42.04.
The nginx.conf file contains
user www-data;
worker_processes 1;
pid /var/run/nginx.pid;
nginx: no port in upstream "php_workers" in /etc/nginx/templates/fastcgi_php.tmpl:13
events {
worker_connections 1024;
}
http {
include /etc/nginx/conf-enabled/*.conf;
include
by
Jedi
-
New Member Introductions