Skip to content

Web server settings

Open the application and go to Settings › Web server. The page applies to every application type.

The card at the top says which web server the application’s server runs, Nginx only or Nginx + Apache, and what that means for this application:

  • Nginx only: .htaccess files are ignored. Use Redirects and the other sections of the panel instead.
  • Nginx + Apache: for applications that run PHP, your .htaccess rules work. Nginx still serves images, CSS, JavaScript and fonts itself.
  • Node.js applications never read .htaccess, even on Nginx + Apache: Nginx passes requests to the app. Static servers run Nginx only, and Nginx serves their files itself.

On applications that run PHP and on static applications, images, CSS, JavaScript and fonts are compressed and cached by browsers for 30 days.

The web server is chosen when the server is created. See Create a server.

Under HTTP Strict Transport Security (HSTS), choose Enabled to tell browsers to use only HTTPS for this address for a year, even when someone types http://. The change applies as soon as you choose it. Turn it on only when HTTPS works on every address the application uses.

Allow other sites to load your files (CORS)

Section titled “Allow other sites to load your files (CORS)”

Cross-origin access lets other sites or apps you own load this application’s images, CSS and JavaScript from the browser. Fonts are already allowed everywhere.

  1. Under Cross-origin access (CORS), type each address in Allowed origins, one per line, with https:// and without a path, for example https://app.example.com. You can add up to 20.
  2. Click Save.

Netkeel checks the new configuration before it is used. This setting only adds permission; it never blocks anything. Click Discard to undo changes you haven’t saved.

AI agent applications (OpenClaw and Hermes Agent) have no CORS setting: their address is the agent’s own dashboard.