Skip to content

Nginx

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

  1. Go to Web Server -> Nginx
  2. Select a version from the list (the latest stable version is recommended)
  3. Click Install - Kythia downloads the official Windows binary from nginx.org

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

The default port is 80 (configurable in Settings).

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)

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.

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\

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\