(solved)Badges on another public website

I have been using netdata for quite a while now.
Now I am about to discover the badges.svg.
I would like to display some of them on another public website.
Netdata is mapped with proxypass and is protected by htpasswd.
Now I lack the appropriate idea to display the badges without username:password. Is that possible at all?

#this don't work
<Location /netdata/>
		AuthType Basic
		AuthName "Protected site"
		AuthUserFile /etc/apache2/.htpasswd
		Require valid-user
		Order deny,allow
		Allow from all
	</Location>
        <Files /netdata/api/v1/badge.svg>
		Allow from all
	</Files>

Edit: Chatgpt solved it :slight_smile:

<Location /netdata/api/v1/badge.svg>
    Satisfy any
    Allow from all
    AllowOverride None
    Require all granted
</Location>

how did we ever live without chatgpt :slight_smile:

1 Like