Kythia WorkspaceKythia Workspace

Nginx

Using Nginx as your web server in Kythia Workspace.

Nginx is the default and recommended web server for Kythia Workspace. It's incredibly fast, lightweight, and has excellent integration with PHP-FPM/FastCGI.

Installing

Go to Web Server -> Nginx

Select a version from the list (the latest stable version is recommended)

Click Install - Kythia downloads the official Windows binary from nginx.org

Starting / Stopping

Use the Start / Stop buttons in the Nginx panel. Kythia manages the Nginx background process automatically.

The default port is 80 (configurable in Settings).

Configuration

Kythia automatically patches nginx.conf each time you start Nginx to:

  • Set the correct listening port
  • Set the Document Root
  • Enable PHP FastCGI pass-through (if PHP is running)

Custom server blocks

You can add custom server {} blocks by placing .conf files in:

C:\kythia\bin\nginx\conf\sites-enabled\

These are automatically included by Kythia's managed nginx.conf.

Virtual hosts (.test domains)

Kythia includes automatic wildcard vhost support. Any domain matching *.test is routed to a folder matching the subdomain name inside your Document Root.

For example, http://myapp.test -> C:\kythia\www\myapp\

Logs

Click the Logs button in the Nginx panel to view the last 100 lines of error.log and access.log directly in the UI.

Log files are permanently stored at:

C:\kythia\bin\nginx\{version}\logs\

On this page