Switching to .lan from .local to prevent mDNS issues

This commit is contained in:
Random936
2026-04-24 20:10:17 -04:00
parent 75d6d62271
commit 76e69f0bc8
5 changed files with 21 additions and 19 deletions

View File

@@ -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;
'';