Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify a unique webroot for each domain set #28

Open
hackel opened this issue Nov 4, 2016 · 1 comment
Open

Specify a unique webroot for each domain set #28

hackel opened this issue Nov 4, 2016 · 1 comment

Comments

@hackel
Copy link

hackel commented Nov 4, 2016

There should be a way to specify a separate webroot for each domain set. Something like this:

domainsets:
  www:
    domains:
      - example.com
      - www.example.com
    webroot: /var/www/domain.com/public
  mail:
    domains:
      - imap.example.com
      - smtp.example.com
      - mail.example.com
    webroot: /var/www/mail/public
  intranet:
    domains:
      - intranet.example.com
    webroot: /var/www/intranet/public

I solved this by picking one real webroot and symlinking the others to it, but I dislike this manual step.

@getSurreal
Copy link

I agree with you, but as a workaround if you're using apache, you can use a different authenticator

authenticator = apache

and not have to define a webroot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants