🌐

easy engine

1 notes  •  Web Hosting

EasyEngine Nginx Configuration Reference

EasyEngine (ee) is a command-line tool that automates Nginx-based WordPress and PHP server setup on Ubuntu and Debian.

Install EasyEngine

wget -qO ee rt.cx/ee
sudo bash ee

Site Management

# Create a WordPress site
ee site create example.com --wp

# Create a WordPress site with PHP-FPM + Redis cache
ee site create example.com --wpfc

# Create a static HTML site
ee site create example.com --html

# Create a PHP site
ee site create example.com --php

# List all sites
ee site list

# Delete a site
ee site delete example.com

Nginx Config File Locations

# Global Nginx config
/etc/nginx/nginx.conf

# Per-site config
/etc/nginx/sites-available/example.com
/etc/nginx/sites-enabled/example.com

# EasyEngine custom configs
/etc/nginx/conf.d/
/etc/nginx/common/

Useful Commands

# Reload Nginx after config changes
ee stack reload --nginx

# Restart all services
ee stack restart

# Update EasyEngine
ee update

# View site info
ee site info example.com

# Enable/disable a site
ee site enable example.com
ee site disable example.com

Log Locations

/var/log/nginx/example.com.access.log
/var/log/nginx/example.com.error.log