I have a managed Digital Ocean load balancer which works well directing traffic between two droplets.
However if I access the IP address in the browser like this: https://xx.xxx.xx.xxx/ I receive an nginx 404 error and SSL cert warning.
This has been raised on a security audit. I want to disallow any access to the load balancer through the IP address and only allow access through the domain.
Any ideas would be appreciated. Many thanks, Matthew
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.