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

Deploy beta app #14

Open
kdbanman opened this issue Nov 19, 2014 · 0 comments
Open

Deploy beta app #14

kdbanman opened this issue Nov 19, 2014 · 0 comments

Comments

@kdbanman
Copy link
Member

For final deployment, we need two servers:

  • static file server for the compiled Ember app. "disquo.io"
  • reverse proxy server for relaying CORS requests. "cors.disquo.io"

I see two options for this:

1. Both servers on the same machine.

Benefits:

  • simpler DNS configuration
  • could eventually be packaged into a single NPM module, with virtual host, proxy, and file server

Drawbacks:

  • need a third server on the machine for virtual hosting between the other two servers, which means we need to be careful with request/response headers

2. github.io for file server, and dedicated machine for proxy

Benefits:

  • reliable static file server
  • easy to deploy application changes
  • simpler dedicated machine - single server process instead of three

Drawbacks:

  • code in two different places
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

1 participant