From 3fe46e3ef6fc09ec5375ad7c2a9404c7eab710ce Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 20 May 2022 14:50:04 +0200 Subject: [PATCH] update alias --- docker/nginx/conf.d/server/server.api | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index beeb1dff..d0bcee95 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -25,8 +25,7 @@ rewrite ^/docs(?:/(.*))?$ https://sdk.skynetlabs.com/$1 permanent; error_page 401 = @http_401; location @http_401 { - root /etc/nginx/conf.d/pages; - alias 401.txt; + alias /etc/nginx/conf.d/pages/401.txt; } #location / {