Edit Nginx Domain Settings
Override Nginx fields for a single domain and understand save, inheritance and reset behavior.
From Nginx Domains, open the domain settings control.
Values and fields
The editor loads global Nginx preferences and overlays the domain's saved Nginx settings. A non-default domain application is shown as its template selection.
It includes all the fields and validation rules listed in Nginx Settings. The application selector additionally includes custom/account templates, validated against the selected account's available template locations.
The domain and user identify the existing configuration being edited. Check both before saving. Do not assume the editor represents a complete live configuration scan.
Save domain overrides
- Record the domain's current application and settings.
- Change the intended fields.
- Review the whole form, including dependent values.
- Use the save action and read the result.
- Verify generated configuration, service logs and the site.
The helper writes all submitted Nginx settings as the domain's explicit override block, updates its application selection and invokes the shared domain builder. Saving is not limited to fields that changed visually. Later global changes can be masked by these saved overrides.
The helper reports the metadata-write result without independently incorporating every build/reload outcome.
Reset defaults
Use the editor's reset action and review its confirmation. Reset removes the domain's Nginx override block, sets its application to default and invokes the shared builder. It restores inheritance rather than the values from the previous save.
Reset affects more than one field
Record the application selection and overrides before resetting. The Nginx override block includes UserDir and cache settings; removing it can change effective behavior. Separate domain-level settings outside that block are not a comprehensive reset target.
Demo sessions cannot save or reset. Resolve invalid units, missing required values and unavailable templates before retrying. A generated configuration error requires inspection even if the preferences were saved.