We were upgrading one of the Plone Classic sites to Volto. For this we created [b.mydomain] and tested all functionality, everything was working fine in [b.mydomain].
When we change the configuration of [a.mydomain] to match that of [b.mydomain], the site seam to work fine but then we notice some strange behavior.
- on [a.mydomain] when you are not authorized to view a page/file you get a 'Connection refused' instead of 'Unauthorized' you get in [b.mydomain].
- most importantly, when trying to download a file on [a.mydomain] you get a connect ECONNREFUSED [plone-volto-ip]:443, the files download fine in [b.mydomain] when logged in and give an " Unauthorized" if you are not logged in as expected.
nginx is running on one server and plone-volto on another. the nginx configuration on [a.mydomain] and [b.mydomain] are identical except for "server_name".
I can't find any line in either volto nor plone that identifies the [b.mydomain] or [a.mydomain].
neither plone nor volto is running on [plone-volto-ip]:443 where did it get this from?
nginx config https://pastebin.com/raw/Py6RSfpF