Serving Multiple Sites
Module switcher provides host switch functionality for Macaron.
Installation
Usage
If you want to run 2 instances in one program, Host Switcher is the feature you're looking for.
By default, this program will listen on ports 4000
(for m1
) and 4001
(for m2
) in macaron.DEV
mode just for convenience. And only listen on 4000
in macaron.PROD
mode.
Dynamic match
In case you have different subdomains that need only one Macaron instance:
Last updated