mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Change grafana to use anon auth
This commit is contained in:
@@ -226,13 +226,13 @@ log_queries =
|
|||||||
#################################### Anonymous Auth ##########################
|
#################################### Anonymous Auth ##########################
|
||||||
[auth.anonymous]
|
[auth.anonymous]
|
||||||
# enable anonymous access
|
# enable anonymous access
|
||||||
;enabled = false
|
enabled = true
|
||||||
|
|
||||||
# specify organization name that should be used for unauthenticated users
|
# specify organization name that should be used for unauthenticated users
|
||||||
;org_name = Main Org.
|
org_name = Main Org.
|
||||||
|
|
||||||
# specify role for unauthenticated users
|
# specify role for unauthenticated users
|
||||||
;org_role = Viewer
|
org_role = Viewer
|
||||||
|
|
||||||
#################################### Github Auth ##########################
|
#################################### Github Auth ##########################
|
||||||
[auth.github]
|
[auth.github]
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /grafana/ {
|
location /grafana/ {
|
||||||
|
auth_request /auth/sessions/whoami;
|
||||||
rewrite /grafana/(.*) /$1 break;
|
rewrite /grafana/(.*) /$1 break;
|
||||||
proxy_pass http://{{ masterip }}:3000/;
|
proxy_pass http://{{ masterip }}:3000/;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 90;
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /grafana/ {
|
location /grafana/ {
|
||||||
|
auth_request /auth/sessions/whoami;
|
||||||
rewrite /grafana/(.*) /$1 break;
|
rewrite /grafana/(.*) /$1 break;
|
||||||
proxy_pass http://{{ masterip }}:3000/;
|
proxy_pass http://{{ masterip }}:3000/;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 90;
|
||||||
|
|||||||
@@ -182,6 +182,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /grafana/ {
|
location /grafana/ {
|
||||||
|
auth_request /auth/sessions/whoami;
|
||||||
rewrite /grafana/(.*) /$1 break;
|
rewrite /grafana/(.*) /$1 break;
|
||||||
proxy_pass http://{{ masterip }}:3000/;
|
proxy_pass http://{{ masterip }}:3000/;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 90;
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /grafana/ {
|
location /grafana/ {
|
||||||
|
auth_request /auth/sessions/whoami;
|
||||||
rewrite /grafana/(.*) /$1 break;
|
rewrite /grafana/(.*) /$1 break;
|
||||||
proxy_pass http://{{ masterip }}:3000/;
|
proxy_pass http://{{ masterip }}:3000/;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 90;
|
||||||
|
|||||||
Reference in New Issue
Block a user