Accessing Nextcloud locally and Externally through a Domain

So, I’m having some weird issues that when accessing my server locally (through the local ip address/nextcloud) and when I access it through the web from my domain I get different errors.

Before all this I was having issues on setting up my server to be accessed outside my network, but I got it working. Before I got it working, I squashed pretty much all the security errors you find in Security & setup warnings except the missing indexes one. After that I got the domain working. But, when I got the domain working, and checked the security settings again, I now have two flaws again: the “You are accessing your instance over a secure connection, however your instance is generating insecure URLs” and “Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead”, but I did the steps to get rid of them before I set up the domain.

However, when I access the security settings through my domain online (outside of network), those two flaws are gone, but the /.well-known/caldav/cardav are back.

I’m not sure what to do? Or if it’s anything to worry about, because locally, the cardav work, but has the HTTPS errors, but online, HTTPS errors work, but cardav does not.

Anyone know what to do from here? Or have seen something like this?