This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
FAQ
François Parmentier edited this page Mar 16, 2016
·
2 revisions
fsevents
is an optional dependency, only useful for MacOS.
If you are using npm version 3.x, it may prevents the rest of the dependencies to install. Use a version 2.x of npm, and it should work.
If you have an instance, say home-prod-1
, that you want to be redirected to when you access to your domain, say domain.co
(which is also the value of the environment variable domainProxy
), you can configure an Apache reverse proxy like that:
<VirtualHost data.istex.fr:80>
ProxyPreserveHost On
ServerName domain.co
ServerAlias *.domain.co
<Location />
# redirect to home-prod-1 ezmaster instance
# if domain.co is requested
SetEnvIf Host ^domain\.co$ DOMAIN_CO_PROD_HOME
RequestHeader set Host "home-prod-1.domain.co" env=DOMAIN_CO_PROD_HOME
ProxyPass http://<ezmaster-server-ip>:35267/
ProxyPassReverse http://<ezmaster-server-ip>:35267/
</Location>
</VirtualHost>