CLICommand referenceedge

edge

Commands, arguments, and options for synq edge.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

synq edge

Install and manage the OpenResty edge (reverse proxy, TLS, per-route rules)

synq edge [options] [command]
SubcommandPurpose
statusShow whether the edge is installed and serving :80/:443
on [options]Turn the edge on for an install running with it off (--edge off): fetch its image, then migrate or take over ports 80/443 with automatic rollback
restoreUndo a takeover: stop Synq's edge, restart and re-enable the web server it replaced (from the takeover record), restore replaced certificate files, and keep the edge off
up|install [options]Ensure the edge is up and serving; optionally enable monitoring (built-in analytics DB)
migrateTake over :80/:443 and import the existing proxy's sites into the edge
takeoverFree :80/:443 for the edge — whatever holds them is stopped and its sites drop
sites|scanList reverse-proxy sites on this host that the edge could import
repair|doctor [options]Diagnose why the edge isn't serving; --fix to resolve a port conflict
rulesPer-route edge rules: rate-limit, ban, access control
domains|domainDomains routed through the edge: list, register on a port, verify SSL, remove
traffic [options]Traffic overview for a project (requests, bandwidth, hourly periods)
analytics [options]Per-domain analytics for a project: visitors, countries, top paths
logs [options]Recent HTTP request logs the edge captured for a project

synq edge analytics

Per-domain analytics for a project: visitors, countries, top paths

synq edge analytics [options]
OptionMeaning
-p, --project <id>Project ID
--domain <host>Scope to a single tracked domain
--from <ts>Window start (ISO 8601 or epoch ms; default 7 days)
--to <ts>Window end

synq edge domains

Domains routed through the edge: list, register on a port, verify SSL, remove

synq edge domains|domain [options] [command]
SubcommandPurpose
list [options]List a project's domains routed through the edge
add [options] <hostname>Register a hostname on the edge, bound to a port (auto-verifies SSL)
rm [options] <hostname>Remove a hostname from the edge

synq edge domains add

Register a hostname on the edge, bound to a port (auto-verifies SSL)

synq edge domains add [options] <hostname>
ArgumentMeaning
hostnameDomain hostname (e.g. app.example.com)
OptionMeaning
-p, --project <id>Attach to an existing project (uses its target port)
--port <n>Bind a new tracked project to 127.0.0.1:<n>
--primaryMark this domain as the project's primary (default: false)
--no-verifySkip DNS verification + SSL issuance (just claim the hostname)

synq edge domains list

List a project's domains routed through the edge

synq edge domains list [options]
OptionMeaning
-p, --project <id>Project ID

synq edge domains rm

Remove a hostname from the edge

synq edge domains rm [options] <hostname>
ArgumentMeaning
hostnameDomain hostname to remove
OptionMeaning
-p, --project <id>Project the domain belongs to

synq edge logs

Recent HTTP request logs the edge captured for a project

synq edge logs [options]
OptionMeaning
-p, --project <id>Project ID
--limit <n>How many recent entries to fetch (max 200) (default: 50)
--followPoll for new entries and print them as they arrive (default: false)

synq edge migrate

Take over :80/:443 and import the existing proxy's sites into the edge

synq edge migrate [options]

synq edge on

Turn the edge on for an install running with it off (--edge off): fetch its image, then migrate or take over ports 80/443 with automatic rollback

synq edge on [options]
OptionMeaning
--migrateImport the sites of the web server on :80/:443 into the edge, then take the ports over
--takeoverStop the web server on :80/:443 (its sites stop being served) and take the ports over

synq edge repair

Diagnose why the edge isn't serving; --fix to resolve a port conflict

synq edge repair|doctor [options]
OptionMeaning
--fixAttempt to fix a detected conflict (default: migrate its sites) (default: false)
--migrateWith --fix: import the existing proxy's sites
--takeoverWith --fix: stop whatever holds :80/:443 (sites drop)

synq edge restore

Undo a takeover: stop Synq's edge, restart and re-enable the web server it replaced (from the takeover record), restore replaced certificate files, and keep the edge off

synq edge restore [options]

synq edge sites

List reverse-proxy sites on this host that the edge could import

synq edge sites|scan [options]

synq edge status

Show whether the edge is installed and serving :80/:443

synq edge status [options]

synq edge takeover

Free :80/:443 for the edge — whatever holds them is stopped and its sites drop

synq edge takeover [options]

synq edge traffic

Traffic overview for a project (requests, bandwidth, hourly periods)

synq edge traffic [options]
OptionMeaning
-p, --project <id>Project ID
--domain <host>Scope to a single tracked domain
--from <ts>Window start (ISO 8601 or epoch minutes)
--to <ts>Window end (ISO 8601 or epoch minutes)

synq edge up

Ensure the edge is up and serving; optionally enable monitoring (built-in analytics DB)

synq edge up|install [options]
OptionMeaning
--migrateOn a port conflict, import the existing proxy's sites and take over
--takeoverOn a port conflict, stop whatever holds :80/:443 (its sites drop)
--monitoringAlso enable monitoring: install the built-in Synq service + embedded DB for analytics
--no-monitoringEdge only — skip the monitoring prompt (the headless default)
--admin-name <name>Admin display name for a fresh monitoring install
--admin-email <email>Admin email for a fresh monitoring install (required when headless)
--admin-password <pw>Admin password (prefer the SYNQ_ADMIN_PASSWORD env var)

On this page