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

16 lines
506 B
Plaintext
Raw 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 "";