mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-21 06:24:14 -05:00
I haven't slept for 24 hours I literally couldn't care less
This commit is contained in:
parent
5b53eff0f3
commit
f24fc3fea2
9 changed files with 72 additions and 58 deletions
|
|
@ -2,12 +2,11 @@
|
|||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts."logs.wanderingcrow.net".extraConfig = ''
|
||||
@block not remote_ip ${inputs.nix-secrets.network.primary.publicIP} private_ranges
|
||||
abort @block
|
||||
reverse_proxy http://${builtins.toString config.services.grafana.settings.server.http_addr}:${builtins.toString config.services.grafana.settings.server.http_port}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue