๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ GmCapsule โ€บ 3266 captured on 2023-12-28 at 16:17:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-11-14)

โžก๏ธ Next capture (2024-02-05)

๐Ÿšง View Differences

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

Multiple sites in gmcapsule

Say I wanted to serve 2 capsules...let's assume static for now

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

Posted in: s/GmCapsule

๐Ÿ€ gritty

Jul 19 ยท 5 months ago ยท ๐Ÿ‘ norayr

3 Comments โ†“

๐Ÿš€ skyjake ยท Jul 19 at 02:58:

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

๐Ÿš€ skyjake ยท Jul 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 ยท Jul 19 at 10:40:

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