By nquirk22
I am running a Spring Boot server with an Angular application on a Docker container. The Tomcat server is configured to serve over 443.
If I visit the site from a PC, the browser automatically connects over SSL. On Safari in MacOS or iOS, the browser will show “Connection could not be established” until the protocol is specified. Once I specify protocol, the DNS cache saves the request and I no longer need to put https:// on subsequent visits to the page until the DNS cache expires.
I have tried configuring my server to redirect all port 80 requests to 443 but that doesn’t seem to be working.
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!
Hello, @nquirk22
You should already have the HTTP to HTTPS redirection if other browsers redirect you to the secure version of your site/app.
You can test this on another machine/device running Safari in order to ensure that the issue remains.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.