try victoriametrics without proxy
This commit is contained in:
parent
4921dfb6f7
commit
bd7f68b4a3
2 changed files with 6 additions and 1 deletions
|
|
@ -5,6 +5,11 @@
|
|||
|
||||
sops.secrets.victoria-nginx-password.owner = "nginx";
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 8428 ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."victoria-server.cloonar.com" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ in {
|
|||
enable = true;
|
||||
after = ["network-online.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
script = "vmagent -promscrape.config=${configure_prom} -envflag.enable -remoteWrite.url=https://victoria-server.cloonar.com/api/v1/write";
|
||||
script = "vmagent -promscrape.config=${configure_prom} -envflag.enable -remoteWrite.url=http://victoria-server.cloonar.com:8428/api/v1/write";
|
||||
|
||||
serviceConfig = {
|
||||
EnvironmentFile=config.sops.secrets.victoria-agent-env.path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue