aosasona / chimney

A minimal & fast static file server designed for minimal configuration
Apache License 2.0
6 stars 2 forks source link

feat: support multiple projects/websites #22

Open aosasona opened 7 months ago

aosasona commented 7 months ago

Chimney is designed to work as a single website in a container together with the chimney binary, but what if we could serve multiple instead.

This will indeed be a breaking change if I go about it the wrong way, but we could add a new tenant-mode (or just mode although it may be more confusing) option that can be set to single or multi and that will be used to decide if the server wants to go with the root_dir or a new sites array of tables.

aosasona commented 7 months ago

While trying to implement #20, I realised it is kind of pointless to do that without this first.

aosasona commented 6 months ago
aosasona commented 6 months ago

Also, we need to an option that allows users to ignore certain dirs

aosasona commented 6 months ago

TODO NEXT TIME: read config files in root