Disclaimer: I just started using WordOps.
After an update on my VPS I couldn't restart nginx and the errors pointed to duplicate directives. the duplicates were found in nginx.conf and /etc/nginx/conf.d/tweaks.conf. One example is here.
nginx: [emerg] "sendfile" directive is duplicate in /etc/nginx
After commenting out all the duplicates in tweaks.conf , running nginx -t I still receive an error
zero size shared memory zone "one"
After searching online the advise given is that it should be another duplicate problem but I cannot find any other file that has a limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;
Does anybody have any clue to what a fix could be ?
I excuse myself in advance if this has nothing to do with WordOps, the tweaks.conf is a WordOps file and so I thought that this last error could also have something to do with the update.
thanks in advance