PanelicaDocs
panelica.com
Docs / Domain Editor / Web Server

"Web Server Tab"

Panelica 1.0.375 Verified 2026-07-23 Domain Editor

The Web Server tab decides how a domain is served: which server mode runs it, whether full-page caching is on, and what custom configuration is layered on top. The cards you see depend on your permissions and on the current mode.

Panel locationDomain Editor → Web Serverhttps://YOUR-SERVER-IP:8443/domains/edit/DOMAIN-ID#webserver
 Domain Editor · example.com · Web Server
Nginx Only
Fastest static serving Recommended
Nginx + Apache
.htaccess compatibility Recommended
Full-page Cache (FastCGI)
Serve whole pages from Nginx cache
OFF
Nginx Custom Configuration
.system/conf/vhost_nginx.conf · Apply & Reload Nginx
Nginx Vhost Editor DANGEROUS
ROOT only · edits the live vhost file

Server mode

Two modes, presented as selectable cards:

Mode When to use it
Nginx Only Pure Nginx serving; the leanest and fastest option for most modern apps
Nginx + Apache Nginx in front, Apache behind it; needed when a site relies on .htaccess rules or Apache-specific modules

Picking a different mode opens a confirmation dialog immediately, warning about the impact before anything changes. On confirm the panel rewrites the domain's server configuration and the page reflects the new mode; switching to Nginx + Apache reveals the Apache cards below, switching away hides them. A "Current Configuration" box always shows the active mode and its state. Note that the Security tab depends on this choice: ModSecurity features need the Nginx + Apache mode.

Full-page Cache

A single switch that turns Nginx full-page caching (FastCGI cache) on or off for this domain. When enabled, whole page responses are served straight from Nginx's cache, which can absorb large traffic spikes without touching PHP. The card's hint explains the behavior; the switch applies immediately.

Custom configuration: Nginx and Apache

These editors add your own directives on top of the panel-generated configuration; they do not expose the main vhost file. Each card shows the include file it writes (~/.system/conf/vhost_nginx.conf or vhost_apache.conf), a monospace editor, and a Show Examples toggle with ready-made snippets fitting that layer: the Nginx card offers headers, IP blocks, redirects and proxying examples, while the Apache card covers error pages, IP restrictions and headers (proxying stays on the Nginx side, as its note explains). The Apache editor exists only while the domain runs in Nginx + Apache mode.

Apply & Reload sends the configuration to the server, which validates and applies it; errors come back as a visible message on the card. An unsaved-changes hint appears while you type, and Reset returns the editor to the last saved content.

Prefer these editors over the vhost file. Custom directives live in their own include file, survive panel regenerations of the main configuration, and are the intended place for tweaks like extra headers or location blocks.

Vhost editors (ROOT only)

For the rare case where the include file is not enough, ROOT can open the Vhost Editor: a collapsed, red-flagged card per server that loads and edits the domain's actual live vhost file. The card opens with a HIGH RISK warning list reminding you that a wrong edit can take the whole site down and that the custom configuration cards above are the safer route. The Apache variant appears only in Nginx + Apache mode.

One click applies it. Config and vhost saves have no confirmation step; the only confirmed action on this tab is the server mode switch. Treat the vhost editor as a scalpel: keep a copy of the original content before larger edits.

Permissions

Each card has its own permission: changing the server mode, editing Nginx custom configuration, editing Apache custom configuration and editing vhost files are separate keys, and the vhost editors additionally require the ROOT role. Cards you lack simply do not appear. The Full-page Cache switch is available to anyone who can see the tab.

Panelica Documentation · Written and verified against the live panel. · Last verified 2026-07-23 on Panelica 1.0.375