From 308e37f63fffcf2a219ecdfab981e9f669ff8b1a Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 16 Jun 2021 13:24:51 +0200 Subject: [PATCH] clean up failing part --- docker/nginx/nginx.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index 22dcd4a7..75f807f9 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -66,11 +66,6 @@ http { #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 header_filter_by_lua 'ngx.header["Skynet-Portal-Api"] = os.getenv("SKYNET_PORTAL_API")';