Switching to .lan from .local to prevent mDNS issues
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
settings.server = {
|
||||
http_addr = "127.0.0.1";
|
||||
http_port = 3000;
|
||||
domain = "grafana.randomctf.local";
|
||||
domain = "grafana.randomctf.lan";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -31,19 +31,19 @@
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
# Grafana
|
||||
"grafana.randomctf.local" = {
|
||||
"grafana.randomctf.lan" = {
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/access.grafana.log;
|
||||
'';
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
proxy_set_header Host grafana.randomctf.local;
|
||||
proxy_set_header Host grafana.randomctf.lan;
|
||||
proxy_pass http://localhost:3000/;
|
||||
'';
|
||||
};
|
||||
|
||||
# Prometheus
|
||||
"prometheus.randomctf.local" = {
|
||||
"prometheus.randomctf.lan" = {
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/access.prometheus.log;
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user