healthcheck: use POST
Otherwise crawler might accidentally trigger the URL. There should be also a filter set in healthchecks.io
This commit is contained in:
parent
ae040ac91d
commit
7409bceb56
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ in
|
|||
services.cron.enable = true;
|
||||
services.cron.systemCronJobs = [
|
||||
# record that this machine is alive
|
||||
"*/5 * * * * root ${pkgs.curl}/bin/curl -sfL https://hc-ping.com/fcf6c029-5b57-44aa-b392-923f3d894dd9"
|
||||
"*/5 * * * * root ${pkgs.curl}/bin/curl -X POST -sfL https://hc-ping.com/fcf6c029-5b57-44aa-b392-923f3d894dd9"
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue