mirror of
https://github.com/Noratrieb/vps.git
synced 2026-03-16 14:16:08 +01:00
Compare commits
No commits in common. "72bd7972da7537a4b6544512ddecb2fa3b12245e" and "1e4973049f23eab0b9a305ff14a41919b6254fb0" have entirely different histories.
72bd7972da
...
1e4973049f
3 changed files with 2 additions and 13 deletions
|
|
@ -10,15 +10,6 @@ in
|
||||||
"does-it-build.noratrieb.dev" = {
|
"does-it-build.noratrieb.dev" = {
|
||||||
logFormat = "";
|
logFormat = "";
|
||||||
extraConfig = ''
|
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
|
encode zstd gzip
|
||||||
reverse_proxy * localhost:3000
|
reverse_proxy * localhost:3000
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
let
|
let
|
||||||
caddy = pkgs.caddy.withPlugins {
|
caddy = pkgs.caddy.withPlugins {
|
||||||
plugins = [
|
plugins = [
|
||||||
"github.com/noratrieb-mirrors/certmagic-s3@v1.1.3"
|
"github.com/noratrieb-mirrors/certmagic-s3@v1.0.0"
|
||||||
];
|
];
|
||||||
hash = "sha256-HdCXbqrrGPZSdHv7bZvGz9T6loVbrfKydTbjTyt5Wt0=";
|
hash = "sha256-O1SK13hacEkuSpWLhSdq+hu18Bi6+DqYUPu0lzBpvIE=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ in
|
||||||
{
|
{
|
||||||
deployment.targetHost = "${name}.infra.noratrieb.dev";
|
deployment.targetHost = "${name}.infra.noratrieb.dev";
|
||||||
|
|
||||||
# TODO: ensure that the rust programs have frame pointers
|
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"${networkingConfig.vps3.wg.privateIP}" = [ "loki.internal" "pyroscope.internal" "prometheus.internal" ];
|
"${networkingConfig.vps3.wg.privateIP}" = [ "loki.internal" "pyroscope.internal" "prometheus.internal" ];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue