config: add a route to fic-dashboard

This commit is contained in:
nemunaire 2019-09-07 01:30:39 +02:00
parent f2fc142869
commit 0c8099a639

View File

@ -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;