Compare commits

..

No commits in common. "312b6bc852cf25c519c47c4d5d084327cebbe848" and "d47b2e90eae571d2b53aa4561730ba3f11ebf1e4" have entirely different histories.

4 changed files with 8 additions and 26 deletions

View file

@ -1,8 +0,0 @@
age-encryption.org/v1
-> piv-p256 Vmeusg Apk0u/z04skt4ktJsHDslOrOrwEVcBFzcORCAhbCS48I
WbCYJz5qY0fWslurJUKUc5Coa1mnZejTd9iNubBYWv8
-> hxTct-grease F
Nsg4ckSmYxQxGekmQjq6ipcIKgxvRoh4S8Jud45XOjKKQG4vLvdrFtwhf+5MqgjP
SbvzIs9J1w
--- acYQQSnX0IY7NpTZiPQrtR5S7SIY5PrKrRbBRZl7Glo
Z²\Vl;Øýá³<C3A1>håò<C3A5>»ÿÚG¨ehÖo„‰Þu¯Ó\ðåg+“ÈkP1+"ziŽI\Æ<01>nùJr´ÚOÂOÙ4íYÐËèÇ3:MAÚèµÌ®áõ˜ÄÜ©N·Ë®q=gЈ¦¿³i4P§‡ÝpMQµâÆðXD<Ò1@èM¨™9ˆô9çd$2ÔKtâî¡ÝRÙ<52>c"1”Nèžl4+J÷Ç<10>/³N_\«„M·UÇ©(·ÞÖba?0[†sÑCq¸Û@•C`"cXçË,WúªÌî2[ˆÛ²=ç|Í•"šÎ½Æp­<y"NácoŠéqø7ê²<C3AA>kÕÌò”rÝ;=KQÉÏ=Œ–~ÛMØÁ>÷­T

1
.gitignore vendored
View file

@ -41,4 +41,3 @@ terraform.rc
output/
result
.direnv/
.env

View file

@ -14,9 +14,13 @@
devShells.default = pkgs.mkShell {
shellHook =
''
set -o allexport
source .env set
+o allexport
bw sync
export BW_SESSION=$(bw unlock --raw)
export VERCEL_API_TOKEN=$(bw list items --search "Vercel API" | jq -r '.[0].notes')
export HCLOUD_TOKEN=$(bw list items --search "Hetzner" | jq -r '.[0].fields[] | select(.name | contains("API")) | .value')
export TF_VAR_tailscale_key=$(bw list items --search "Tailscale Key" | jq -r '.[0].notes')
export CLOUDFLARE_API_TOKEN=$(bw list items --search "CloudFlare" | jq -r '.[0].fields[] | select(.name | contains("Zone API Key")) | .value')
# alias terraform='terraform -chdir=terraform'
'';
nativeBuildInputs = [
pkgs.jq

View file

@ -100,22 +100,12 @@
};
nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
recommendedZstdSettings = true;
recommendedOptimisation = true;
logError = "/var/log/nginx/debug.log info";
# We can only proxy one port with Tailscale Funnel so we abuse locations instead.
virtualHosts."vancouver.gmem.ca" = {
default = true;
enableACME = false;
forceSSL = false;
locations."/" = {
root = "/var/www/";
extraConfig = ''
error_page 404 /404.html;
'';
};
locations."/git/" = {
proxyWebsockets = false; # needed if you need to use WebSocket
extraConfig =
@ -150,9 +140,6 @@
DISABLE_REGISTRATION = true;
COOKIE_SECURE = true;
};
actions = {
ENABLED = true;
};
};
};
};