Comment by ๐ŸŒ† skyjake

Re: "Multiple sites in gmcapsule"

In: s/GmCapsule

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

๐ŸŒ† skyjake [mod, sysop]

2023-07-19 ยท 3 years ago

1 Later Comment

๐Ÿ€ gritty [OP] ยท 2023-07-19 at 10:40:

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

Original Post

๐ŸŒ’ s/GmCapsule

๐Ÿ€ gritty:

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

๐Ÿ’ฌ 3 comments ยท 1 like ยท 2023-07-19 ยท 3 years ago