Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx: [emerg] "check_shm_size" directive is duplicate #173

Open
developKmv opened this issue May 27, 2019 · 0 comments
Open

nginx: [emerg] "check_shm_size" directive is duplicate #173

developKmv opened this issue May 27, 2019 · 0 comments

Comments

@developKmv
Copy link

Good afternoon.

I try to use check_shm_size directive and get a fail while check a config via
nginx-t

nginx: [emerg] "check_shm_size" directive is duplicate in /etc/nginx/tcp.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed

/etc/nginx/tcp.conf
tcp {
check_shm_size 128k;
access_log /var/log/nginx/tcp_access.log;
include /etc/nginx/tcp.conf.d/*;
}

How to use check_shm_size ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant