Handle Nginx http auth + grafana auth separately

Now for the subdomain as well.
This commit is contained in:
Dan Rowe 2021-01-29 13:43:10 -05:00 committed by GitHub
parent 895ee47559
commit a11dc81b1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/01/29
# make sure that your dns has a cname set for grafana and that your grafana container is not using a base url
server {
@ -35,6 +35,9 @@ server {
set $upstream_port 3000;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
# Clear Authorization Header if you are using http auth and normal Grafana auth
#proxy_set_header Authorization "";
}
}