On the Dreamfactory setup <form action='upstream server name/setup'>

I’m installing from the following Docker Hub repo:

This container is sitting behind an nginx reverse proxy.

I get the /setup screen fine, but instead of the just using /setup and posting back to itself or the correct mydomain.com/setup it is using the upstream server name with /setup.

In other words…in the example below the /setup form action is trying to post back to “http://dreamfactory/setup” instead of http://api.mydomain.com/setup

Any thoughts?

upstream dreamfactory {
      server ec2-xx-xx-xx-xx.compute-1.amazonaws.com:3001;

server {
      listen 80;
      server_name "api.mydomain.com";

      location / {
        proxy_pass http://dreamfactory;