bundles/ntfy add more nginx options
This commit is contained in:
parent
6e23f84a39
commit
014c7e5be8
2 changed files with 6 additions and 4 deletions
|
@ -85,7 +85,7 @@ cache-startup-queries: |
|
||||||
# ntfy user and group by running: chown ntfy.ntfy <filename>.
|
# ntfy user and group by running: chown ntfy.ntfy <filename>.
|
||||||
#
|
#
|
||||||
auth-file: "/var/lib/ntfy/user.db"
|
auth-file: "/var/lib/ntfy/user.db"
|
||||||
auth-default-access: "deny-all"
|
auth-default-access: "write-only"
|
||||||
|
|
||||||
# If set, the X-Forwarded-For header is used to determine the visitor IP address
|
# If set, the X-Forwarded-For header is used to determine the visitor IP address
|
||||||
# instead of the remote address of the connection.
|
# instead of the remote address of the connection.
|
||||||
|
|
|
@ -14,9 +14,9 @@ defaults = {
|
||||||
},
|
},
|
||||||
'backups': {
|
'backups': {
|
||||||
'paths': {
|
'paths': {
|
||||||
"/var/cache/ntfy"
|
"/var/cache/ntfy",
|
||||||
"/var/lib/ntfy"
|
"/var/lib/ntfy",
|
||||||
"/var/opt/ntfy"
|
"/var/opt/ntfy",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'zfs': {
|
'zfs': {
|
||||||
|
@ -63,6 +63,8 @@ def nginx(metadata):
|
||||||
'additional_config': {
|
'additional_config': {
|
||||||
'proxy_connect_timeout 3m',
|
'proxy_connect_timeout 3m',
|
||||||
'proxy_send_timeout 3m',
|
'proxy_send_timeout 3m',
|
||||||
|
'proxy_request_buffering off',
|
||||||
|
'proxy_redirect off',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue