This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/docker/nginx/conf.d/include/init-optional-variables

19 lines
625 B
Plaintext
Raw Permalink Normal View History

2021-08-27 12:15:22 +00:00
# optional variables initialisation - those variables are used in log_format
# but are not set on every route so we need to initialise them with empty value
# because otherwise logger with throw error
# set only on hns routes
set $hns_domain "";
2021-08-27 12:15:22 +00:00
# set only if server has been access through SERVER_DOMAIN
set $server_alias "";
2021-11-05 11:57:06 +00:00
# expose skylink variable so we can use it in access log
set $skylink "";
# cached account limits (json string) - applies only if accounts are enabled
set $account_limits "";
# set this internal flag to true if current request should not be limited in any way
set $internal_no_limits "false";