flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 858ec21770c0e2d0b25fc302688fbde9bb24d9f1
parent 873a30d3ea4c4d1e43a21a70c9ea2dc08691d537
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  9 Jan 2021 15:37:25 -0800

Add example caddyfile

Diffstat:
ACaddyfile | 11+++++++++++
MREADME.md | 7+++++--
2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/Caddyfile b/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 + } +} + diff --git a/README.md b/README.md @@ -22,9 +22,12 @@ After creating an account, you can activate it at the command line with: ## 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: -(TODO -- rewrite) +1. Wildcard for \*.yourdomain.whatever +2. On Demand cert for custom user domains + +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.