diff options
| author | Christian Cleberg <[email protected]> | 2026-04-15 18:15:02 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-15 18:15:02 -0500 |
| commit | 37e2a70e6bb1b2fa5aac2971fb6ca69ca844551a (patch) | |
| tree | e93e1ac226756170c70ecf85c636c95cfe8edd2e | |
| parent | 3bd858e379e84f1655f57f88a1d9ee079d7e10b0 (diff) | |
| download | dotfiles-37e2a70e6bb1b2fa5aac2971fb6ca69ca844551a.tar.gz dotfiles-37e2a70e6bb1b2fa5aac2971fb6ca69ca844551a.tar.bz2 dotfiles-37e2a70e6bb1b2fa5aac2971fb6ca69ca844551a.zip | |
fix: resolve multiple server names in default.conf and multiple 443 blocks in ao
| -rw-r--r-- | common/ssh/.ssh/config | 6 | ||||
| -rw-r--r-- | common/zsh/.zshrc | 9 | ||||
| -rw-r--r-- | linux/nginx/etc/nginx/conf.d/.no-ssl.default.conf (renamed from linux/nginx/etc/nginx/conf.d/no-ssl.default.conf) | 0 | ||||
| -rw-r--r-- | linux/nginx/etc/nginx/conf.d/ao.conf | 20 | ||||
| -rw-r--r-- | linux/nginx/etc/nginx/conf.d/default.conf | 17 |
5 files changed, 18 insertions, 34 deletions
diff --git a/common/ssh/.ssh/config b/common/ssh/.ssh/config index 2300f0d..241f6c2 100644 --- a/common/ssh/.ssh/config +++ b/common/ssh/.ssh/config @@ -11,9 +11,9 @@ Host hutch HostName 159.203.91.165 Port 22 Host * - #AddKeysToAgent yes - #UseKeychain yes - #IdentityFile ~/.ssh/id_ed25519 + AddKeysToAgent yes + UseKeychain yes + IdentityFile ~/.ssh/id_ed25519 #ControlMaster auto #ControlPath ~/.ssh/master-%r@%h:%p #ControlPersist 300 diff --git a/common/zsh/.zshrc b/common/zsh/.zshrc index 9cba6bf..930ee3b 100644 --- a/common/zsh/.zshrc +++ b/common/zsh/.zshrc @@ -144,3 +144,12 @@ ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold' # zoxide eval "$(zoxide init zsh)" + +# bun completions +[ -s "/Users/cmc/.bun/_bun" ] && source "/Users/cmc/.bun/_bun" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH" + +alias claude-mem='/Users/cmc/.bun/bin/bun "/Users/cmc/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"' diff --git a/linux/nginx/etc/nginx/conf.d/no-ssl.default.conf b/linux/nginx/etc/nginx/conf.d/.no-ssl.default.conf index de6b2d7..de6b2d7 100644 --- a/linux/nginx/etc/nginx/conf.d/no-ssl.default.conf +++ b/linux/nginx/etc/nginx/conf.d/.no-ssl.default.conf diff --git a/linux/nginx/etc/nginx/conf.d/ao.conf b/linux/nginx/etc/nginx/conf.d/ao.conf index 31e2087..588bc61 100644 --- a/linux/nginx/etc/nginx/conf.d/ao.conf +++ b/linux/nginx/etc/nginx/conf.d/ao.conf @@ -2,7 +2,12 @@ server { listen [::]:443 ssl; listen 443 ssl; http2 on; - server_name ao.zerolabs.sh; + server_name ao.zerolabs.sh ao.cleberg.net; + + if ($host = ao.cleberg.net) { + return 301 https://ao.zerolabs.sh$request_uri; + } + add_header Onion-Location "http://7lyqrn4ofxdq7lfporviu44zpc42wooh2bqazfhvpscgwby2vcwldzad.onion$request_uri" always; include custom.d/tls/ssl_engine.conf; include custom.d/tls/certificate_files.conf; @@ -29,16 +34,3 @@ server { server_name ao.cleberg.net; return 301 https://ao.zerolabs.sh$request_uri; } - -server { - listen 443 ssl; - listen [::]:443 ssl; - http2 on; - server_name ao.cleberg.net; - - include custom.d/tls/ssl_engine.conf; - include custom.d/tls/certificate_files.conf; - include custom.d/tls/policy_strict.conf; - - return 301 https://ao.zerolabs.sh$request_uri; -} diff --git a/linux/nginx/etc/nginx/conf.d/default.conf b/linux/nginx/etc/nginx/conf.d/default.conf deleted file mode 100644 index 3aa1909..0000000 --- a/linux/nginx/etc/nginx/conf.d/default.conf +++ /dev/null @@ -1,17 +0,0 @@ -server { - listen [::]:443 ssl default_server; - listen 443 ssl default_server; - http2 on; - server_name _; - include custom.d/tls/ssl_engine.conf; - include custom.d/tls/certificate_files.conf; - include custom.d/tls/policy_strict.conf; - return 444; -} - -server { - listen [::]:80; - listen 80; - server_name _; - return 444; -} |
