0

I have an EC2 with Nginx setup & there are a few containers running inside. There's a Node JS gateway which is serving some of the requests in a webpage hosting in this Nginx server. Nginx is not a container - FYI. While we are able to load the website using https://domainname.com, while doing a refresh, we see some errors in the developer console for some of the elements within the page. The error is as shown in the screenshot attached. I have put redirection in the Nginx so that any http requests are redirected to https, but these 4 or 5 components are not working. I am not sure what is the issue here, and how to resolve. However, I am confident someone might have faced the same issue.

Requesting immediate support here.

enter image description here

3
  • Your backend server should be configured to generate the proper urls. Most servers allow to configure a base url for this. May 18 at 16:07
  • @GeraldSchneider, thanks for the comment. But where should this config be done? in nginx? Do you've some form of sample which can help me please? May 19 at 9:41
  • It can be done in nginx, but it should be done in the backend server configuration. Nobody can tell you how without knowing what you are running as backend servers. May 19 at 9:45

0

You must log in to answer this question.

Browse other questions tagged .