Files
freedak f7a720204a Update: 将子项目从 submodule 转为完整内容
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用
- 添加所有子项目的完整源代码
- 保留原始 .git 为 .git.bak 备份
2026-07-04 19:20:46 +08:00

18 lines
687 B
Caddyfile

# TLS + reverse proxy for nomifun-web (Caddy auto-provisions HTTPS certs).
#
# The app provides its own login screen, so NO basic_auth is needed here —
# Caddy's job is just TLS termination and proxying. The /ws WebSocket upgrade
# passes through automatically.
#
# IMPORTANT: when serving over HTTPS, set NOMIFUN_HTTPS=true on the nomifun
# service so the session cookie gets the Secure flag.
#
# Replace the domain below with yours. For a LAN-only host without a public
# domain you can use an internal name + `tls internal`, or just skip Caddy and
# publish port 8787 directly (the in-app login still protects it).
your.domain.com {
encode zstd gzip
reverse_proxy nomifun:8787
}