๐พ Archived View for bbs.geminispace.org โบ s โบ GmCapsule โบ 3266 captured on 2023-07-22 at 16:30:55. Gemini links have been rewritten to link to archived content
โก๏ธ Next capture (2023-09-08)
-=-=-=-=-=-=-
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
2023-07-19 ยท 4 days ago ยท ๐ norayr
Yes, except the list of hostnames in `host` is not comma-separated, just space-separated.
Note that currently there is a limitation regarding certificates and vhosts: only one cert is loaded and it must cover all the hosts.
@skyjake thanks! I now have a project for my day off.
2023-07-19 ยท 3 days ago