clean up failing part
This commit is contained in:
parent
4c3aa72424
commit
308e37f63f
|
@ -66,11 +66,6 @@ http {
|
||||||
|
|
||||||
#gzip on;
|
#gzip on;
|
||||||
|
|
||||||
# expose env variables as regular variables (env variables are not easily accessible in nginx)
|
|
||||||
set_by_lua $SKYNET_PORTAL_API 'return os.getenv("SKYNET_PORTAL_API")';
|
|
||||||
set_by_lua $SKYNET_SERVER_API 'return os.getenv("SKYNET_SERVER_API")';
|
|
||||||
set_by_lua $ACCOUNTS_ENABLED 'return os.getenv("ACCOUNTS_ENABLED")';
|
|
||||||
|
|
||||||
# include skynet-portal-api header on every request
|
# include skynet-portal-api header on every request
|
||||||
header_filter_by_lua 'ngx.header["Skynet-Portal-Api"] = os.getenv("SKYNET_PORTAL_API")';
|
header_filter_by_lua 'ngx.header["Skynet-Portal-Api"] = os.getenv("SKYNET_PORTAL_API")';
|
||||||
|
|
||||||
|
|
Reference in New Issue