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

Multiple workspace & public folder #144

Closed
fra967 opened this issue Apr 5, 2017 · 1 comment
Closed

Multiple workspace & public folder #144

fra967 opened this issue Apr 5, 2017 · 1 comment
Assignees

Comments

@fra967
Copy link

fra967 commented Apr 5, 2017

Files from the public directory are not served to the associated directory but from the first one in the virtualHost array

For example:

  "virtualHosts": {
    "one": {
      "hostnames": ["one.domain.com"],
      "configFile": "one.qa.json"
    },
    "two": {
      "hostnames": ["two.domain.com"],
      "configFile": "two.qa.json"
    }
  },

one.qa.json

  "paths": {
    "public": "workspace-one/public"
  }

two.qa.json

  "paths": {
    "public": "workspace-two/public"
  }

two.domain.com/test.txt is actually serving one.domain.com/test.txt
(i.e. workspace-one/public/test.txt instead of workspace-two/public/test.txt)

Using latest from
https://github.com/dadi/web/tree/feature/version-2.0

@fra967
Copy link
Author

fra967 commented Apr 6, 2017

works fine, thank you

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

3 participants