config: add a route to fic-dashboard
This commit is contained in:
parent
f2fc142869
commit
0c8099a639
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user