💾 Archived View for bbs.geminispace.org › u › skyjake › 3268 captured on 2024-07-09 at 03:17:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🕹️ skyjake

Re: "Multiple sites in gmcapsule"

In: s/GmCapsule

Yes, except the list of hostnames in `host` is not comma-separated, just space-separated.

🕹️ skyjake [mod, sysop]

2023-07-19 · 1 year ago

2 Later Comments ↓

🕹️ skyjake [mod...] · 2023-07-19 at 07:26:

Note that currently there is a limitation regarding certificates and vhosts: only one cert is loaded and it must cover all the hosts.

— /s/GmCapsule-Issues/8

🍀 gritty [OP] · 2023-07-19 at 10:40:

@skyjake thanks! I now have a project for my day off.

Original Post

🌒 s/GmCapsule

Multiple sites in gmcapsule — Say I wanted to serve 2 capsules...let's assume static for now sub1.example.com sub2.example.com I'm wondering if the ini would look like this: [server] host = sub1.example.com, sub2.example.com certs = <cert loc> [static] root = /var/gemini with each site served from: /var/gemini/sub1.example.com /var/gemini/sub2.example.com and DNS entries would point to the same IP:port

💬 gritty · 3 comments · 1 like · 2023-07-19 · 1 year ago