diff --git a/configs/nginx-frontend-htpasswd.conf b/configs/nginx-frontend-htpasswd.conf index aa4312f3..74b5af77 100644 --- a/configs/nginx-frontend-htpasswd.conf +++ b/configs/nginx-frontend-htpasswd.conf @@ -117,6 +117,19 @@ server { add_header Cache-Control no-cache; } + location /dashboard/ { + #auth_basic "Secure Zone"; + #auth_basic_user_file ficpasswd; + + #if ($remote_user !~ "^nemunaire|bombal_s$") { + # return 403; + #} + + proxy_pass http://fic-dashboard:8082; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_redirect off; + } + location /api/ { #auth_basic "Secure Zone"; #auth_basic_user_file ficpasswd;