Skip to content

Project web server

A project's web server routes requests to files or a running application. Install the required server through services first.

Modes

Mode Use
No web server No managed web configuration is needed.
Static Static files; the SPA option provides fallback to the application's entry page.
PHP Document root and PHP-FPM endpoint for a PHP application.
Reverse proxy Forwarding to a running application, such as a local HTTP port.
Custom Nginx Your own Nginx configuration.
Custom Apache Your own Apache configuration; requires Apache recorded on the server.

Save, review and apply

  1. Open the project's web server section and choose a mode.
  2. Enter domains and required values: document root, PHP endpoint or proxy destination.
  3. Save and review the configuration preview.
  4. Apply the configuration. If you changed the form after saving, save it again first.
  5. Follow syntax validation and activation results in the project log.

Common mistakes

A PHP project's public directory may differ from the repository root. For a proxy, the application must actually run at the destination address; configure its process. For SPA mode, test opening a nested URL directly.

A saved preview is not yet active configuration. Complete domains and HTTPS using domains and SSL.