mirror of https://github.com/OpenVidu/openvidu.git
deployment: Add rules_access_dashboard to new rules
parent
fc51f2f272
commit
19b010a49c
|
@ -23,7 +23,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/openvidu/elasticsearch$ {
|
location ~ ^/openvidu/elasticsearch$ {
|
||||||
allow all;
|
{rules_access_dashboard}
|
||||||
deny all;
|
deny all;
|
||||||
|
|
||||||
rewrite ^/openvidu/elasticsearch$ / break;
|
rewrite ^/openvidu/elasticsearch$ / break;
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
|
|
||||||
location ~ ^/openvidu/elasticsearch/.*$ {
|
location ~ ^/openvidu/elasticsearch/.*$ {
|
||||||
allow all;
|
{rules_access_dashboard}
|
||||||
deny all;
|
deny all;
|
||||||
|
|
||||||
rewrite ^/openvidu/elasticsearch(.*)$ $1 break;
|
rewrite ^/openvidu/elasticsearch(.*)$ $1 break;
|
||||||
|
|
Loading…
Reference in New Issue