Skip to Content
Browse documentation

Edit Advanced Nginx Website Settings in UAPP

Understand all 59 UAPP Nginx editor settings, input formats, application profiles, save confirmation and reset scope.

Open Nginx → Nginx Websites, choose the advanced-settings action and acknowledge its warning. Verify the website, current application and Custom configuration or Using server defaults badge.

Use Search settings, Expand All and Collapse All to find fields. Changed fields are highlighted and counted. Searching or collapsing sections does not limit the fields submitted.

Input formats

All settings are required by the server form, including dependent values hidden when their feature is off. Switches submit on or off. Integer counts shown below accept 1–20000. Size/time strings have a maximum length of 20 characters.

FormatAccepted example
MegabytesDigits followed by lowercase m, such as 10m.
KilobytesDigits followed by lowercase k, such as 128k.
Seconds stringDigits followed by lowercase s, such as 30s.
Cache validityDigits followed by lowercase m or h, such as 60m or 24h.

These suffix validators accept digit strings including zero, but do not validate relationships between buffer values or establish that every accepted combination is usable. Uppercase suffixes and decimals do not match these fields.

Requests, protocols and serving

SettingInputPurpose
client_max_body_sizeMegabytesMaximum request body size.
client_body_buffer_sizeKilobytesRequest-body buffer size.
keepalive_requestsInteger countRequests per keep-alive connection.
keepalive_timeoutSeconds stringKeep-alive timeout.
http2SwitchHTTP/2 configuration.
http3SwitchHTTP/3 configuration.
hstsSwitchHTTP Strict Transport Security policy.
userdirSwitchUser-directory serving behavior.
dirlistSwitchDirectory listings.
pseudoflvSwitchFLV pseudo-streaming support.
pseudomp4SwitchMP4 pseudo-streaming support.
access_log_bufferingSwitchAccess-log buffering.

Keep directory listings off unless exposing the directory contents is intentional. Enable HSTS only with a working HTTPS configuration and an understanding of the provider's generated policy.

Proxy behavior

SettingInputPurpose
proxy_bufferingSwitchBuffer upstream responses.
proxy_http_version1.0 or 1.1HTTP version used toward the proxied backend.
proxy_set_header_connectionSwitchConfigured upstream Connection-header handling.
proxy_connect_timeoutSeconds stringBackend connection timeout.
proxy_send_timeoutSeconds stringTimeout sending to the backend.
proxy_read_timeoutSeconds stringTimeout reading from the backend.
proxy_buffer_sizeKilobytesUpstream response/header buffer.
proxy_buffers_numInteger countNumber of proxy buffers.
proxy_buffers_sizeKilobytesSize of each proxy buffer.
proxy_busy_buffers_sizeKilobytesBusy response-buffer allowance.
proxy_temp_file_write_sizeKilobytesAmount written to a temporary file at once.

Use application requirements when changing buffering, headers or timeouts. An accepted input format does not verify streaming or long-running request compatibility.

TLS and protection switches

Each field below is an on/off switch for the provider's generated configuration. Rule details and supported modules depend on the server; a switch does not establish complete protection against a class of attack.

SettingPurpose
ssl_staplingTLS certificate-status stapling.
ssl_prefer_server_ciphersServer cipher preference.
hotlinkHotlink protection.
range_protectionRange-request protection.
limitmethodHTTP method restrictions.
useragentUser-agent rules.
scannerScanner-blocking rules.
xssXSS-related rules.
xframeFrame-embedding protection.
sql_injectionSQL-injection-related rules.
file_injectionFile-injection-related rules.
cepCEP protection rules.
refspamReferrer-spam rules.
symlink_protectSymbolic-link protection.
xmlrpcXML-RPC protection/restrictions.

Test APIs, embeds, remote publishing and other integrations after changing rules. Do not assume an enabled control is compatible with every application.

Connection, request and slow-client limits

SettingInputPurpose
limit_connectionSwitchEnable connection limiting.
limit_connection_peripInteger countSimultaneous connections per IP.
limit_connection_perdomainInteger countSimultaneous connections for the website.
request_moduleSwitchEnable request-rate limiting.
request_module_peripInteger countConfigured request-rate allowance per IP.
request_module_perdomainInteger countConfigured request-rate allowance for the website.
slowlorisSwitchEnable slow-client timeout protection.
client_header_timeoutInteger 1–20000Header-receive timeout in seconds; no s suffix in this field.
client_body_timeoutInteger 1–20000Body-receive timeout in seconds; no s suffix in this field.

Per-IP rules may affect multiple users behind a shared address. Test uploads and legitimate traffic before applying aggressive limits.

Proxy cache

SettingInputPurpose
proxycacheSwitchEnable proxy caching.
proxy_cache_revalidateSwitchCache revalidation.
proxy_cache_lockSwitchCache locking.
proxy_cache_use_staleSwitchConfigured stale-response handling.
proxy_cache_min_usesInteger countUses required before caching.
proxy_cache_validCache validityCache-validity period.

FastCGI cache

SettingInputPurpose
fcgicacheSwitchEnable FastCGI caching.
fastcgi_cache_revalidateSwitchCache revalidation.
fastcgi_cache_lockSwitchCache locking.
fastcgi_cache_use_staleSwitchConfigured stale-response handling.
fastcgi_cache_min_useInteger countUses required before caching.
fastcgi_cache_validCache validityCache-validity period.

Cache-dependent controls are shown when the corresponding cache is enabled. Review cache exclusions with the provider and test private, signed-in and changing content. This editor does not provide a cache-purge button.

Change application profile

Select Change Application, choose the provider-offered profile and confirm the separate application action. The current selection is shown above the editor; available descriptions come from the provider's application profiles.

This changes the website's selected web application profile and requests a rebuild. It does not install, migrate or upgrade the application's code. Record the previous profile and save or discard pending editor changes before switching.

Save, discard or reset

  1. Review all fields, not just visible search results.
  2. Select Save Nginx Settings.
  3. Review the website and change summary in the confirmation dialog.
  4. Confirm, read validation/result messages and test the website.

Saving submits the complete form as website overrides. Discard Changes leaves without saving the pending form. Reset to Defaults opens a separate confirmation and removes all recorded Nginx overrides for the website. Reset does not reset the separate application profile.

Failure does not imply rollback

Settings are recorded before a virtual-host rebuild is requested. If a save, reset or profile change fails, refresh before retrying and ask the provider to inspect the effective configuration.