mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-07 05:21:31 -07:00
Handle Nginx http auth + grafana auth separately
Now for the subdomain as well.
This commit is contained in:
parent
895ee47559
commit
a11dc81b1f
1 changed files with 4 additions and 1 deletions
|
@ -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
|
# make sure that your dns has a cname set for grafana and that your grafana container is not using a base url
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -36,5 +36,8 @@ server {
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
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 "";
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue