diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index db69542f..276b8872 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -212,7 +212,7 @@ server { end ngx.var.skylink = skylink - if request_uri_rest == "/" and skylink_rest ~= "" and skylink_rest ~= "/" then + if request_uri_rest == "/" and skylink_rest ~= nil and skylink_rest ~= "" and skylink_rest ~= "/" then ngx.var.rest = skylink_rest else ngx.var.rest = request_uri_rest