Commit 37e2a70e6b
37e2a70e6bb1b2fa5aac2971fb6ca69ca844551a
parent: 3bd858e379
Verified · cmc
cmc <hello@cleberg.net> · 2026-04-15 23:15 UTC
fix: resolve multiple server names in default.conf and multiple 443 blocks in ao
Layout: unified · split
common/ssh/.ssh/config
+3 −3
| @@ -11,9 +11,9 @@ Host hutch |
| 11 | 11 | HostName 159.203.91.165 |
| 12 | 12 | Port 22 |
| 13 | 13 | Host * |
| 14 | | #AddKeysToAgent yes |
| 15 | | #UseKeychain yes |
| 16 | | #IdentityFile ~/.ssh/id_ed25519 |
| 14 | AddKeysToAgent yes |
| 15 | UseKeychain yes |
| 16 | IdentityFile ~/.ssh/id_ed25519 |
| 17 | 17 | #ControlMaster auto |
| 18 | 18 | #ControlPath ~/.ssh/master-%r@%h:%p |
| 19 | 19 | #ControlPersist 300 |
common/zsh/.zshrc
+9
| @@ -144,3 +144,12 @@ ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold' |
| 144 | 144 | # zoxide |
| 145 | 145 | eval "$(zoxide init zsh)" |
| 146 | 146 | |
| 147 | |
| 148 | # bun completions |
| 149 | [ -s "/Users/cmc/.bun/_bun" ] && source "/Users/cmc/.bun/_bun" |
| 150 | |
| 151 | # bun |
| 152 | export BUN_INSTALL="$HOME/.bun" |
| 153 | export PATH="$BUN_INSTALL/bin:$PATH" |
| 154 | |
| 155 | alias claude-mem='/Users/cmc/.bun/bin/bun "/Users/cmc/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"' |
linux/nginx/etc/nginx/conf.d/no-ssl.default.conf → linux/nginx/etc/nginx/conf.d/.no-ssl.default.conf
renamed
linux/nginx/etc/nginx/conf.d/ao.conf
+6 −14
| @@ -2,7 +2,12 @@ server { |
| 2 | 2 | listen [::]:443 ssl; |
| 3 | 3 | listen 443 ssl; |
| 4 | 4 | http2 on; |
| 5 | | server_name ao.zerolabs.sh; |
| 5 | server_name ao.zerolabs.sh ao.cleberg.net; |
| 6 | |
| 7 | if ($host = ao.cleberg.net) { |
| 8 | return 301 https://ao.zerolabs.sh$request_uri; |
| 9 | } |
| 10 | |
| 6 | 11 | add_header Onion-Location "http://7lyqrn4ofxdq7lfporviu44zpc42wooh2bqazfhvpscgwby2vcwldzad.onion$request_uri" always; |
| 7 | 12 | include custom.d/tls/ssl_engine.conf; |
| 8 | 13 | include custom.d/tls/certificate_files.conf; |
| @@ -29,16 +34,3 @@ server { |
| 29 | 34 | server_name ao.cleberg.net; |
| 30 | 35 | return 301 https://ao.zerolabs.sh$request_uri; |
| 31 | 36 | } |
| 32 | | |
| 33 | | server { |
| 34 | | listen 443 ssl; |
| 35 | | listen [::]:443 ssl; |
| 36 | | http2 on; |
| 37 | | server_name ao.cleberg.net; |
| 38 | | |
| 39 | | include custom.d/tls/ssl_engine.conf; |
| 40 | | include custom.d/tls/certificate_files.conf; |
| 41 | | include custom.d/tls/policy_strict.conf; |
| 42 | | |
| 43 | | return 301 https://ao.zerolabs.sh$request_uri; |
| 44 | | } |
linux/nginx/etc/nginx/conf.d/default.conf
deleted
−17
| @@ -1,17 +0,0 @@ |
| 1 | | server { |
| 2 | | listen [::]:443 ssl default_server; |
| 3 | | listen 443 ssl default_server; |
| 4 | | http2 on; |
| 5 | | server_name _; |
| 6 | | include custom.d/tls/ssl_engine.conf; |
| 7 | | include custom.d/tls/certificate_files.conf; |
| 8 | | include custom.d/tls/policy_strict.conf; |
| 9 | | return 444; |
| 10 | | } |
| 11 | | |
| 12 | | server { |
| 13 | | listen [::]:80; |
| 14 | | listen 80; |
| 15 | | server_name _; |
| 16 | | return 444; |
| 17 | | } |