I just upgraded EE on two of my boxes. The surprise was my nginx won’t start anymore with the error:
nginx: [emerg] "server_tokens" directive is duplicate in /etc/nginx/conf.d/ee-nginx.conf:5
After a lot of testing I finally got a workaround to the issue just renaming ee-nginx.conf
to something else:
cd /etc/nginx/conf.d
mv ee-nginx.conf ee-nginx.conf-old
After that, nginx -t
didn’t detect any issues anymore, and service nginx start
brought all my sites back online.
For sure it is a temporary solution, a workaround, but perhaps it might be useful for someone else.