feat: add caddy as a reverse proxy for applications

This commit is contained in:
Ryan Yin
2024-02-18 11:01:44 +08:00
parent a321d2c803
commit 5fe647c0d3
7 changed files with 83 additions and 9 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
# DeclarativePlugins = with pkgs.grafanaPlugins; [ grafana-piechart-panel ];
settings = {
server = {
http_addr = "0.0.0.0";
http_port = 80;
http_addr = "127.0.0.1";
http_port = 3000;
protocol = "http";
domain = "grafana.writefo.fun";
# Redirect to correct domain if the host header does not match the domain. Prevents DNS rebinding attacks.