| author | |
| committer | |
| log | ffba2eb5c9d8a6478c8a2053bc02f8616a547ce7 |
| tree | 42d625685e75148b74d7916942f4adda8f490016 |
| parent | a2539c07f874120f95bf837528a1d40dbc61e8ec |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
Route https://clozy.moe to Spacebar beside phoenix-selfhosted.paperclover.net;
Caddy obtains its certificate automatically. Previews omit the alias.
Assisted-by: claude-sonnet-5.51 files changed, 4 insertions(+), 0 deletions(-)
service/spacebar/service.pkl+4| ... | @@ -34,6 +34,10 @@ container { | ... | @@ -34,6 +34,10 @@ container { |
| 34 | http { | 34 | http { |
| 35 | containerPort = 3001 | 35 | containerPort = 3001 |
| 36 | subdomain = "phoenix-selfhosted" | 36 | subdomain = "phoenix-selfhosted" |
| 37 | plainHostnames { | ||
| 38 | // A preview would request a certificate for a name with no DNS. | ||
| 39 | when (!site.preview) { "clozy.moe" } | ||
| 40 | } | ||
| 37 | checkPath = "/api/ping" | 41 | checkPath = "/api/ping" |
| 38 | forwardRealIp = true | 42 | forwardRealIp = true |
| 39 | } | 43 | } |