Overview

NGINX templates allow you to customize the web server configuration that is generated for new sites. Modify the template to include custom NGINX directives, security headers, or performance optimizations that will be applied to all new site deployments.

Related Documentation

Learn how to create sites that use these NGINX templates.

Template Management

Core Features

Custom Templates

Edit NGINX configuration templates

Variable Support

Use dynamic variables for site-specific values

Template Persistence

Save templates for use with new sites

Template Variables

Available Variables

Variable Usage

The $PUBLIC_DIRECTORY variable is set to /current/public and should not be modified. This path is essential for Loupp’s zero downtime deployment and rollback processes to function correctly.
Template variables are automatically replaced with actual values when NGINX configurations are generated for new sites.