From e46d1dfef717ae57f9b89bdeda3e70023e32c092 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Tue, 29 Oct 2024 01:25:23 -0600 Subject: [PATCH] add cdn and factorio_blueprints --- cdn/factorio_blueprints/red_circuits.txt | 1 + sys/srv/net.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 cdn/factorio_blueprints/red_circuits.txt diff --git a/cdn/factorio_blueprints/red_circuits.txt b/cdn/factorio_blueprints/red_circuits.txt new file mode 100644 index 0000000..1e9e840 --- /dev/null +++ b/cdn/factorio_blueprints/red_circuits.txt @@ -0,0 +1 @@ +0eNq9Xd2Om0wWfJWRrz0R/QtE2nfYi72LosjjIfnQerDXP/k2iubdF4M9JjGVVBdslIsYDxTVB/qcproaf188bU7Vbl83x8X774vn6rDe17tjvW0W7xf/3G+fT+vq8JC9s+HhW7XZbP9+eKo2x8PD9vPDvnp+WNf79ak+Ht49/Gv1727HcNvhy76qmrddHlbN88Nuszoc63X3efXw+bTZdLuf915vd7tqf97jWB3eLZaLer1tDov3H74vDvWXZrU582tWL1VLbPX8ddWsq+fHC/jitd29ea7+u3hvXpcjBxz3q+aw2+6Pj+fTDXa3rx+Xi6o51se66k/WbXz71Jxenqp9i7cEGMvFbnuo+0h9X5zPnL8Ly8W3xfvH3L8L7Sme63217ncozqx+QrZvyKvDoXp52tTNl8eX1fqvuqke7T2+zX7Cb9Hr3Wg4rn/79J/TatOes92n2e5f2pCM8HBvPD63F+exbg7V/tj+4b6BBW6gHwH2dOis+wF5BCuwJK1NIxl5kuF3JPPUK1r8f65oQQcr4mAZO4Jc0tFyJq03mIwl7bJE0kbqw45ibRVoS0Hf+uVL9VyfXh6rTbv/vl4/7rab6pfd047fn8brKcfMeYOakNi2Qa9GbYtKtnEALFfAELNbd9xs23j/1Ra/NnBUCnNMCjOlksMAW5spYCCOlu951v+WmVXAELPU3jVIlYif19P/rL3LhtQbLuIbbjSj2pgYvUHORtHLldJCZVJbKNBU/relkv8NA+0yBTq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weCj9/TAQHLYtSO/8QRhBvfEKEpC4cqSmy/VMUhVetKCN9Wta52a52r/Zb9t/0d49hcXZ7k4fuvG5XWzOx1Hh91RehCDgZBKGQpEiv8jT7xHB24QIsiRCfL2dERRTnGLlKktSfCOFKnYkuYIr2dCrctSmUq1jqtHufSoxtWjBGvIrR6ZgouJ8qhGYhfKo5qhJgx9ijWkTOVthaLKYjuhprLYSjVksUNKLjQ/Xc3fZz/JOsJyT3iws6nYRUpcXHpclGpJci8VEZPFTqqdITkuAyMKgf+LrFgQA6CEt7nYXySy8UB5BRsYVXyCUWUQFC7lJry/5TaIMJyFyicYV26jHxq8EAYVNLiy9IAED5nirqTBb310vW0Ox1VzfFxvX57qZnXc7n+Z1vORbtRiHPfbzaen6q/V17oFaI869H8//Pj5w/e2sz1X5/q5XHyuN+3D38/fvvHqJgt2m9XxLO/fzRKcz/qyW+07wu8X/+i+ODXHFuP1Y/vvdbTdVqtlcZibYLYIA98NF1b3x8PaT5tsm3o9WCc0U3C9VhDZ4IbE4IY/Htz2Zj0c28g+rfbzRTVq5ZSNap4Y1fyPR3VkYdtMoS20kUTEI4nruOXjcvF3+/dziz4YtwxLE5bh47L/HF3/uf1qaQefY7/P+auljbfPeb/P+atl3n8f3W3/7rMx/U7n764HdJ/N5cy5ux3dfTaXU5+/azf6v5ie7JVtv3Xl25G8HnbZunDovr2h9FsXGt23S3M5t+npXo/rtuyFvOkZ58Mte+XSk76idFv2yqVrg73GzLjBcZetSxtsH3T7w9Y17n3gryj91jX2XRvs5ey2Z309rtty5nqVwvC4bstdufSsryjdlrty6drgLmfv0N6Ou2xFf9kKg+MuW/FynHVDlH4rvxzXteG8hKXbOqPdjuu2/BUzxuFx3dbZhNJt5X6I0m2djQf9Vt5t9cd1aG/Hdf+/7dn9f9mz7Sv1sXppe8/T5lTt9nVz7n5f23zQda4QbdkOtYI33lpjXl//B2L6n+A= \ No newline at end of file diff --git a/sys/srv/net.nix b/sys/srv/net.nix index 30a92be..ab69cf6 100644 --- a/sys/srv/net.nix +++ b/sys/srv/net.nix @@ -44,6 +44,16 @@ with lib; { autoindex_format html; ''; }; + + "~ ^/factorio_blueprints(?:/(.*))?$" = { # https://serverfault.com/a/476368 + alias = "${../../cdn/factorio_blueprints}/$1"; + extraConfig = '' + autoindex on; + autoindex_exact_size on; + autoindex_localtime on; + autoindex_format html; + ''; + }; }; }; };