Easyengine saying nginx not installed

I have installed easyengine and using since last 6 months on a VPS. A week ago I have updated to latest easyengine version and never faced an issue. Sites are working fine.

but recently when I was just checking server health I found out that easyengine is showing nginx is not installed.

please tell me how to repair this .

Try running nginx -t to see where your nginx configuration fails.

nginx -t does not shows any error. Every config looks fine

Backup your nginx configs if you need them,

run apt-get purge nginx nginx*

then run ee stack install --nginx

That will allow EE to install nginx the way it wants with the modules it requires.

EDIT: Assuming your using Ubuntu. If not you will need to use your default package manager to purge NGINX

1 Like