Getting "invalid host header" while connecting to UI server, running on EC2

Viewed 168

I am running a UI application on EC2 instance. Please find below its devServer setting

devServer: {
      open: false,
      port: 3000,
      static: path.resolve(__dirname, 'build')
    }

I am able to connect UI using http://My_Public_IP:3000

But I am not able to connect with test.mydomain.com

I have setup test.mydomain.com using nginx ssl on EC2 with setting proxy_pass http://localhost:3000

Please let me know what I am missing.

0 Answers
Related