I already have an Nginx server running as a proxy pass for various other web services, so my nginx config is already perfectly valid.
I run the sudo ee site create example.com --wp
command to start a new wordpress site but it just immediately gives me an NGINX configuration failed
error.
After this it creates a new file called 22222
in my sites-available
directory. doing a test with nginx -t
gives me: nginx: [emerg] "tcp_nopush" directive is duplicate in /etc/nginx/conf.d/ee-plus.conf:6
. If I delete this file then nginx works fine as usual again, so ee is creating an invalid configuration somehow.
nginx: configuration file /etc/nginx/nginx.conf test failed