mirror of
https://github.com/Noratrieb/vps.git
synced 2026-03-16 06:06:07 +01:00
Compare commits
2 commits
1e4973049f
...
72bd7972da
| Author | SHA1 | Date | |
|---|---|---|---|
| 72bd7972da | |||
| b382e5b232 |
3 changed files with 13 additions and 2 deletions
|
|
@ -10,6 +10,15 @@ in
|
|||
"does-it-build.noratrieb.dev" = {
|
||||
logFormat = "";
|
||||
extraConfig = ''
|
||||
@blocked {
|
||||
header User-Agent *SemrushBot*
|
||||
header User-Agent *AhrefsBot*
|
||||
header User-Agent *Amazonbot*
|
||||
header User-Agent *openai.com*
|
||||
}
|
||||
|
||||
respond @blocked "get fucked" 418
|
||||
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:3000
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
let
|
||||
caddy = pkgs.caddy.withPlugins {
|
||||
plugins = [
|
||||
"github.com/noratrieb-mirrors/certmagic-s3@v1.0.0"
|
||||
"github.com/noratrieb-mirrors/certmagic-s3@v1.1.3"
|
||||
];
|
||||
hash = "sha256-O1SK13hacEkuSpWLhSdq+hu18Bi6+DqYUPu0lzBpvIE=";
|
||||
hash = "sha256-HdCXbqrrGPZSdHv7bZvGz9T6loVbrfKydTbjTyt5Wt0=";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ in
|
|||
{
|
||||
deployment.targetHost = "${name}.infra.noratrieb.dev";
|
||||
|
||||
# TODO: ensure that the rust programs have frame pointers
|
||||
|
||||
networking.hosts = {
|
||||
"${networkingConfig.vps3.wg.privateIP}" = [ "loki.internal" "pyroscope.internal" "prometheus.internal" ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue