Add example caddyfile
alex wennerberg alex@alexwennerberg.com
Sat, 09 Jan 2021 15:37:25 -0800
A
Caddyfile
@@ -0,0 +1,11 @@
+grafana.flounder.local { + reverse_proxy 127.0.0.1:3000 +} + +https://, flounder.local, *.flounder.local { + reverse_proxy 127.0.0.1:8165 + tls { + on_demand + } +} +
M
README.md
→
README.md
@@ -22,9 +22,12 @@ ./flounder -c example-config.toml activate-user [your-username]
## Deploying -For production, in order to handle TLS and custom domains, I use Caddy with On Demand TLS certs. +Gemini TLS certs are handled for you. For HTTP, you'll need a reverse proxy that does the following for you: + +1. Wildcard for \*.yourdomain.whatever +2. On Demand cert for custom user domains -(TODO -- rewrite) +I'm using Caddy. I haven't tested any other servers. I have not extensively tested the self-hosting capabilities, but making it easy to self-host Flounder for either a single or multi-user instance is a goal of mine. Email me if you encounter issues or would like guidance.