22 lines
687 B
Plaintext
22 lines
687 B
Plaintext
# Paste into Nginx Proxy Manager -> Proxy Host -> Advanced
|
|
# (server block context for this host).
|
|
#
|
|
# IMPORTANT:
|
|
# In NPM, `add_header` and `proxy_set_header` do not reliably apply from this section.
|
|
# Put those directives in Custom Location advanced config (especially location `/`).
|
|
|
|
server_tokens off;
|
|
|
|
client_max_body_size 10m;
|
|
client_body_timeout 15s;
|
|
client_header_timeout 15s;
|
|
keepalive_timeout 30s;
|
|
send_timeout 30s;
|
|
|
|
# Requires `limit_conn_zone` defined globally in http context.
|
|
limit_conn fiddy_conn 50;
|
|
|
|
# Prefer dedicated per-host log path if available on your NPM host.
|
|
access_log /var/log/nginx/fiddy-access.log fiddy_json;
|
|
error_log /var/log/nginx/fiddy-error.log warn;
|