Hi,
Is it possible to serve text file from grafana’s subpath?
I have tried to serve the file using nginx, but I didn’t manage to.
I want the file to be available on domain.com/file.txt (grafana is on domain.com)
Hi,
Is it possible to serve text file from grafana’s subpath?
I have tried to serve the file using nginx, but I didn’t manage to.
I want the file to be available on domain.com/file.txt (grafana is on domain.com)
Hi!
What does your nginx config look like and where is your .txt file located?
Here is my config file:
server {
listen 80;
server_name stacjameteommz.pl www.stacjameteommz.pl;
location = /ads.txt { alias /etc/grafana/ads.txt; }
return 301 https://stacjameteommz.pl$request_uri;
}
Grafana is hosted on port 443.
I’d like the file to be available on http (port 80) and https (port 443), so I guess the config needs to be done differently