1

Deploying a dockerized Ember.js app stack can be done with three or four containers. For https it's easiest to proxy over a specialized container that handles vhosts and ssl certificates.

              Internet
                 │
               Server
                 │
             Container
            nginx-proxy
               https
                 │
         ╭───────┴───────╮
    Container        Container
      Ember             API
www.example.com   api.example.com
                         │
                     Container
                         DB

This works fine. But when the Ember app becomes a FastBoot app, the FastBoot server will do the requests to the API for the first pageview server-side. And the API is not reachable via DNS, nor is it https.

How should a setup like this realistically be accomplished?

Redsandro
  • 11,060
  • 13
  • 76
  • 106
  • I dont see why the ember container can not send a API request back to the nginx proxy? – Lux Mar 08 '19 at 20:55

0 Answers0